pub struct Lsn(pub u64);Expand description
A log sequence number: a monotonically increasing id assigned to every WAL record. LSNs totally order all mutations and anchor checkpointing and recovery.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for Lsn
Source§impl<'de> Deserialize<'de> for Lsn
impl<'de> Deserialize<'de> for Lsn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Lsn
Source§impl Ord for Lsn
impl Ord for Lsn
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Lsn
impl PartialOrd for Lsn
impl StructuralPartialEq for Lsn
Auto Trait Implementations§
impl Freeze for Lsn
impl RefUnwindSafe for Lsn
impl Send for Lsn
impl Sync for Lsn
impl Unpin for Lsn
impl UnsafeUnpin for Lsn
impl UnwindSafe for Lsn
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