pub struct OperationObservation { /* private fields */ }Expand description
Durable independent observation of one operation postcondition.
Implementations§
Source§impl OperationObservation
impl OperationObservation
Sourcepub const fn id(&self) -> &OperationObservationId
pub const fn id(&self) -> &OperationObservationId
Returns the semantic observation identity.
Sourcepub const fn operation(&self) -> &OperationId
pub const fn operation(&self) -> &OperationId
Returns the stable operation observed.
Sourcepub const fn response(&self) -> &PostconditionResponse
pub const fn response(&self) -> &PostconditionResponse
Returns the typed observation response.
Sourcepub const fn dispatch(&self) -> Option<&FencedDispatchId>
pub const fn dispatch(&self) -> Option<&FencedDispatchId>
Returns the dispatch observed, if any.
Sourcepub const fn receipt(&self) -> Option<&LifecycleReceiptId>
pub const fn receipt(&self) -> Option<&LifecycleReceiptId>
Returns the latest raw receipt visible to the observer, if any.
Sourcepub const fn last_durable_step(&self) -> OperationStep
pub const fn last_durable_step(&self) -> OperationStep
Returns the last durable step visible to the observer.
Sourcepub const fn observed_at(&self) -> u64
pub const fn observed_at(&self) -> u64
Returns the explicit monotonic observation tick.
Sourcepub const fn evidence(&self) -> &EvidenceSetId
pub const fn evidence(&self) -> &EvidenceSetId
Returns the evidence-set identity derived from the observation.
Sourcepub fn canonical_datum(&self) -> Datum
pub fn canonical_datum(&self) -> Datum
Returns the canonical semantic observation value.
Trait Implementations§
Source§impl Clone for OperationObservation
impl Clone for OperationObservation
Source§fn clone(&self) -> OperationObservation
fn clone(&self) -> OperationObservation
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 OperationObservation
impl Debug for OperationObservation
impl Eq for OperationObservation
Source§impl PartialEq for OperationObservation
impl PartialEq for OperationObservation
impl StructuralPartialEq for OperationObservation
Auto Trait Implementations§
impl Freeze for OperationObservation
impl RefUnwindSafe for OperationObservation
impl Send for OperationObservation
impl Sync for OperationObservation
impl Unpin for OperationObservation
impl UnsafeUnpin for OperationObservation
impl UnwindSafe for OperationObservation
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