pub struct SnapshotLog<T> { /* private fields */ }Expand description
Third-party time-varying data history supporting only direct snapshots (if you need indirect invalidation support, use [CheckedSnapshotLogEvent])
Implementations§
Source§impl<T> SnapshotLog<T>
impl<T> SnapshotLog<T>
Source§impl<T: Eq> SnapshotLog<T>
impl<T: Eq> SnapshotLog<T>
pub fn latest(&self) -> Option<ForeignSnapshot<&T>>
Trait Implementations§
Source§impl<T: Clone> Clone for SnapshotLog<T>
impl<T: Clone> Clone for SnapshotLog<T>
Source§fn clone(&self) -> SnapshotLog<T>
fn clone(&self) -> SnapshotLog<T>
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<T: Debug> Debug for SnapshotLog<T>
impl<T: Debug> Debug for SnapshotLog<T>
Source§impl<T: Default> Default for SnapshotLog<T>
impl<T: Default> Default for SnapshotLog<T>
Source§fn default() -> SnapshotLog<T>
fn default() -> SnapshotLog<T>
Returns the “default value” for a type. Read more
impl<T: Eq> Eq for SnapshotLog<T>
Source§impl<T: PartialEq> PartialEq for SnapshotLog<T>
impl<T: PartialEq> PartialEq for SnapshotLog<T>
impl<T: PartialEq> StructuralPartialEq for SnapshotLog<T>
Auto Trait Implementations§
impl<T> Freeze for SnapshotLog<T>
impl<T> RefUnwindSafe for SnapshotLog<T>where
T: RefUnwindSafe,
impl<T> Send for SnapshotLog<T>where
T: Send,
impl<T> Sync for SnapshotLog<T>where
T: Sync,
impl<T> Unpin for SnapshotLog<T>
impl<T> UnsafeUnpin for SnapshotLog<T>
impl<T> UnwindSafe for SnapshotLog<T>where
T: RefUnwindSafe,
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