pub struct Snapshot<T> {
pub revision: u64,
/* private fields */
}Expand description
Immutable revision, safe to keep after history retention or transaction end.
Fields§
§revision: u64Implementations§
Source§impl<T: LinkReference> Snapshot<T>
impl<T: LinkReference> Snapshot<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Snapshot<T>
impl<T> RefUnwindSafe for Snapshot<T>where
T: RefUnwindSafe,
impl<T> Send for Snapshot<T>
impl<T> Sync for Snapshot<T>
impl<T> Unpin for Snapshot<T>
impl<T> UnsafeUnpin for Snapshot<T>
impl<T> UnwindSafe for Snapshot<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