pub struct LogSequenceNumber(pub u64);Expand description
Log Sequence Number - unique identifier for WAL records
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for LogSequenceNumber
impl Clone for LogSequenceNumber
Source§fn clone(&self) -> LogSequenceNumber
fn clone(&self) -> LogSequenceNumber
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogSequenceNumber
impl Debug for LogSequenceNumber
Source§impl Default for LogSequenceNumber
impl Default for LogSequenceNumber
Source§fn default() -> LogSequenceNumber
fn default() -> LogSequenceNumber
Returns the “default value” for a type. Read more
Source§impl Display for LogSequenceNumber
impl Display for LogSequenceNumber
Source§impl Hash for LogSequenceNumber
impl Hash for LogSequenceNumber
Source§impl Ord for LogSequenceNumber
impl Ord for LogSequenceNumber
Source§fn cmp(&self, other: &LogSequenceNumber) -> Ordering
fn cmp(&self, other: &LogSequenceNumber) -> Ordering
1.21.0 · 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 PartialEq for LogSequenceNumber
impl PartialEq for LogSequenceNumber
Source§impl PartialOrd for LogSequenceNumber
impl PartialOrd for LogSequenceNumber
impl Copy for LogSequenceNumber
impl Eq for LogSequenceNumber
impl StructuralPartialEq for LogSequenceNumber
Auto Trait Implementations§
impl Freeze for LogSequenceNumber
impl RefUnwindSafe for LogSequenceNumber
impl Send for LogSequenceNumber
impl Sync for LogSequenceNumber
impl Unpin for LogSequenceNumber
impl UnsafeUnpin for LogSequenceNumber
impl UnwindSafe for LogSequenceNumber
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more