pub enum DurableOperationState {
IntentPersisted {
intent: OperationIntentId,
},
Dispatched {
intent: OperationIntentId,
dispatch: DispatchId,
},
ReceiptPersisted {
dispatch: DispatchId,
receipt: PerformerReceiptId,
},
}Expand description
The three durable states delivered by the operation-log phase.
Variants§
IntentPersisted
Canonical intent and its separate grant are durable.
Fields
§
intent: OperationIntentIdExact semantic intent identity.
Dispatched
Dispatch is durable; recovery must not call the performer again.
Fields
§
intent: OperationIntentIdExact semantic intent identity.
§
dispatch: DispatchIdExact dispatch identity.
ReceiptPersisted
The raw performer acknowledgement is durable.
Fields
§
dispatch: DispatchIdExact dispatch identity.
§
receipt: PerformerReceiptIdExact raw receipt identity.
Trait Implementations§
Source§impl Clone for DurableOperationState
impl Clone for DurableOperationState
Source§fn clone(&self) -> DurableOperationState
fn clone(&self) -> DurableOperationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DurableOperationState
impl Debug for DurableOperationState
impl Eq for DurableOperationState
Source§impl PartialEq for DurableOperationState
impl PartialEq for DurableOperationState
impl StructuralPartialEq for DurableOperationState
Auto Trait Implementations§
impl Freeze for DurableOperationState
impl RefUnwindSafe for DurableOperationState
impl Send for DurableOperationState
impl Sync for DurableOperationState
impl Unpin for DurableOperationState
impl UnsafeUnpin for DurableOperationState
impl UnwindSafe for DurableOperationState
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