pub struct SnapshotObservation<K> {
pub key: K,
pub kind: ObservationKind,
pub revision: Revision,
}Expand description
Durable dependency observation with no process-local fingerprint authority.
Fields§
§key: KObserved dependency key.
kind: ObservationKindKind of observation made.
revision: RevisionRevision observed at snapshot time.
Trait Implementations§
Source§impl<K: Clone> Clone for SnapshotObservation<K>
impl<K: Clone> Clone for SnapshotObservation<K>
Source§fn clone(&self) -> SnapshotObservation<K>
fn clone(&self) -> SnapshotObservation<K>
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<K: Debug> Debug for SnapshotObservation<K>
impl<K: Debug> Debug for SnapshotObservation<K>
impl<K: Eq> Eq for SnapshotObservation<K>
Source§impl<K: PartialEq> PartialEq for SnapshotObservation<K>
impl<K: PartialEq> PartialEq for SnapshotObservation<K>
impl<K: PartialEq> StructuralPartialEq for SnapshotObservation<K>
Auto Trait Implementations§
impl<K> Freeze for SnapshotObservation<K>where
K: Freeze,
impl<K> RefUnwindSafe for SnapshotObservation<K>where
K: RefUnwindSafe,
impl<K> Send for SnapshotObservation<K>where
K: Send,
impl<K> Sync for SnapshotObservation<K>where
K: Sync,
impl<K> Unpin for SnapshotObservation<K>where
K: Unpin,
impl<K> UnsafeUnpin for SnapshotObservation<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for SnapshotObservation<K>where
K: 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