pub struct JournalGeneration(pub u128);Expand description
One active journal writer incarnation, supplied by the owning runtime.
Never reuse a value across journals, reopen, or selected-lineage replacement. It is independent of the persisted segment/manifest generation and VSR view.
Tuple Fields§
§0: u128Trait Implementations§
Source§impl Clone for JournalGeneration
impl Clone for JournalGeneration
Source§fn clone(&self) -> JournalGeneration
fn clone(&self) -> JournalGeneration
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 moreimpl Copy for JournalGeneration
Source§impl Debug for JournalGeneration
impl Debug for JournalGeneration
impl Eq for JournalGeneration
Source§impl PartialEq for JournalGeneration
impl PartialEq for JournalGeneration
impl StructuralPartialEq for JournalGeneration
Auto Trait Implementations§
impl Freeze for JournalGeneration
impl RefUnwindSafe for JournalGeneration
impl Send for JournalGeneration
impl Sync for JournalGeneration
impl Unpin for JournalGeneration
impl UnsafeUnpin for JournalGeneration
impl UnwindSafe for JournalGeneration
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