pub struct ReadPin {
pub visible_commit_seq: CommitSeq,
pub generation: CheckpointGeneration,
}Expand description
Reader pin identifying the visible database generation.
§Performance
Copying and comparing a pin is O(1).
Fields§
§visible_commit_seq: CommitSeqPinned visible commit sequence.
generation: CheckpointGenerationPinned checkpoint generation.
Trait Implementations§
impl Copy for ReadPin
impl Eq for ReadPin
impl StructuralPartialEq for ReadPin
Auto Trait Implementations§
impl Freeze for ReadPin
impl RefUnwindSafe for ReadPin
impl Send for ReadPin
impl Sync for ReadPin
impl Unpin for ReadPin
impl UnsafeUnpin for ReadPin
impl UnwindSafe for ReadPin
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