pub struct SeqNum(/* private fields */);Expand description
A sequence number that can be compared for ordering.
Implementations§
Trait Implementations§
impl Copy for SeqNum
impl Eq for SeqNum
Source§impl Ord for SeqNum
impl Ord for SeqNum
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SeqNum
impl PartialOrd for SeqNum
impl StructuralPartialEq for SeqNum
Auto Trait Implementations§
impl Forget for SeqNum
impl Freeze for SeqNum
impl Move for SeqNum
impl RefUnwindSafe for SeqNum
impl Send for SeqNum
impl Sync for SeqNum
impl Unpin for SeqNum
impl UnsafeUnpin for SeqNum
impl UnwindSafe for SeqNum
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