pub struct OperationRecord { /* private fields */ }Expand description
Complete verified durable record for one operation.
Implementations§
Source§impl OperationRecord
impl OperationRecord
Sourcepub const fn intent(&self) -> &OperationIntent
pub const fn intent(&self) -> &OperationIntent
Returns the immutable semantic intent.
Sourcepub const fn grant(&self) -> &OperationGrant
pub const fn grant(&self) -> &OperationGrant
Returns the separately recorded grant.
Sourcepub const fn attempt(&self) -> Option<&OperationAttempt>
pub const fn attempt(&self) -> Option<&OperationAttempt>
Returns the attempt selected before dispatch, if dispatch occurred.
Sourcepub const fn dispatch(&self) -> Option<&OperationDispatch>
pub const fn dispatch(&self) -> Option<&OperationDispatch>
Returns the durable performer handoff, if it occurred.
Sourcepub const fn receipt(&self) -> Option<&PerformerReceipt>
pub const fn receipt(&self) -> Option<&PerformerReceipt>
Returns the raw performer acknowledgement, if it became durable.
Sourcepub fn state(&self) -> DurableOperationState
pub fn state(&self) -> DurableOperationState
Derives the exact three-state public projection.
Trait Implementations§
Source§impl Clone for OperationRecord
impl Clone for OperationRecord
Source§fn clone(&self) -> OperationRecord
fn clone(&self) -> OperationRecord
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 OperationRecord
impl Debug for OperationRecord
impl Eq for OperationRecord
Source§impl PartialEq for OperationRecord
impl PartialEq for OperationRecord
impl StructuralPartialEq for OperationRecord
Auto Trait Implementations§
impl Freeze for OperationRecord
impl RefUnwindSafe for OperationRecord
impl Send for OperationRecord
impl Sync for OperationRecord
impl Unpin for OperationRecord
impl UnsafeUnpin for OperationRecord
impl UnwindSafe for OperationRecord
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