pub struct OperationUpdate {
pub id: OperationId,
pub previous: u32,
pub last_step: u32,
pub data: Vec<u8>,
}Expand description
A step transition, guarded against stale callers.
Fields§
§id: OperationIdThe operation being advanced.
previous: u32Step from which this transition was made.
last_step: u32The completed step.
data: Vec<u8>Encoded state after the step.
Auto Trait Implementations§
impl Freeze for OperationUpdate
impl RefUnwindSafe for OperationUpdate
impl Send for OperationUpdate
impl Sync for OperationUpdate
impl Unpin for OperationUpdate
impl UnsafeUnpin for OperationUpdate
impl UnwindSafe for OperationUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more