pub struct OutputSnapshot<O> {
pub scope: ScopeId,
pub transaction_id: TransactionId,
pub revision: Revision,
pub state: Option<O>,
pub cleared: bool,
pub frame: OutputFrameTrace,
}Expand description
Current ledger view for one materialized output.
Fields§
§scope: ScopeIdScope that owns the output.
transaction_id: TransactionIdLast transaction that emitted a frame.
revision: RevisionLast revision observed for this output.
state: Option<O>Current consumer state after applying frames.
cleared: boolWhether a clear frame has been observed.
frame: OutputFrameTraceLast frame trace observed for this output.
Trait Implementations§
Source§impl<O: Clone> Clone for OutputSnapshot<O>
impl<O: Clone> Clone for OutputSnapshot<O>
Source§fn clone(&self) -> OutputSnapshot<O>
fn clone(&self) -> OutputSnapshot<O>
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<O: Debug> Debug for OutputSnapshot<O>
impl<O: Debug> Debug for OutputSnapshot<O>
impl<O: Eq> Eq for OutputSnapshot<O>
Source§impl<O: PartialEq> PartialEq for OutputSnapshot<O>
impl<O: PartialEq> PartialEq for OutputSnapshot<O>
Source§fn eq(&self, other: &OutputSnapshot<O>) -> bool
fn eq(&self, other: &OutputSnapshot<O>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<O: PartialEq> StructuralPartialEq for OutputSnapshot<O>
Auto Trait Implementations§
impl<O> Freeze for OutputSnapshot<O>where
O: Freeze,
impl<O> RefUnwindSafe for OutputSnapshot<O>where
O: RefUnwindSafe,
impl<O> Send for OutputSnapshot<O>where
O: Send,
impl<O> Sync for OutputSnapshot<O>where
O: Sync,
impl<O> Unpin for OutputSnapshot<O>where
O: Unpin,
impl<O> UnsafeUnpin for OutputSnapshot<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for OutputSnapshot<O>where
O: UnwindSafe,
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