pub struct OperationLifecycleRecord { /* private fields */ }Expand description
Complete verified lifecycle history reconstructed only from the journal.
Implementations§
Source§impl OperationLifecycleRecord
impl OperationLifecycleRecord
Sourcepub const fn intent(&self) -> &OperationIntent
pub const fn intent(&self) -> &OperationIntent
Returns the immutable intent.
Sourcepub const fn grant(&self) -> &OperationGrant
pub const fn grant(&self) -> &OperationGrant
Returns the separately recorded grant.
Sourcepub fn leases(&self) -> &[OperationLease]
pub fn leases(&self) -> &[OperationLease]
Returns every bounded lease in durable order.
Sourcepub fn attempts(&self) -> &[OperationAttempt]
pub fn attempts(&self) -> &[OperationAttempt]
Returns every attempt in durable order.
Sourcepub fn dispatches(&self) -> &[FencedDispatch]
pub fn dispatches(&self) -> &[FencedDispatch]
Returns every dispatch in durable order.
Sourcepub fn receipts(&self) -> &[LifecycleReceipt]
pub fn receipts(&self) -> &[LifecycleReceipt]
Returns every raw receipt in durable order.
Sourcepub fn observations(&self) -> &[OperationObservation]
pub fn observations(&self) -> &[OperationObservation]
Returns every independent observation in durable order.
Sourcepub fn outcome(&self) -> Option<&OperationOutcome>
pub fn outcome(&self) -> Option<&OperationOutcome>
Returns the latest durable outcome.
Sourcepub fn outcome_id(&self) -> Option<&OperationOutcomeId>
pub fn outcome_id(&self) -> Option<&OperationOutcomeId>
Returns the semantic identity of the latest durable outcome.
Trait Implementations§
Source§impl Clone for OperationLifecycleRecord
impl Clone for OperationLifecycleRecord
Source§fn clone(&self) -> OperationLifecycleRecord
fn clone(&self) -> OperationLifecycleRecord
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 OperationLifecycleRecord
impl Debug for OperationLifecycleRecord
impl Eq for OperationLifecycleRecord
Source§impl PartialEq for OperationLifecycleRecord
impl PartialEq for OperationLifecycleRecord
impl StructuralPartialEq for OperationLifecycleRecord
Auto Trait Implementations§
impl Freeze for OperationLifecycleRecord
impl RefUnwindSafe for OperationLifecycleRecord
impl Send for OperationLifecycleRecord
impl Sync for OperationLifecycleRecord
impl Unpin for OperationLifecycleRecord
impl UnsafeUnpin for OperationLifecycleRecord
impl UnwindSafe for OperationLifecycleRecord
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