pub struct LogicalTime(/* private fields */);Expand description
Coordinator-supplied deterministic transaction time.
This wrapper intentionally has no wall-clock constructor. Admission code must
supply a validated Timestamp, and deterministic command code receives only
the resulting logical value.
Implementations§
Trait Implementations§
Source§impl Clone for LogicalTime
impl Clone for LogicalTime
impl Copy for LogicalTime
Source§impl Debug for LogicalTime
impl Debug for LogicalTime
impl Eq for LogicalTime
Source§impl Hash for LogicalTime
impl Hash for LogicalTime
Source§impl Ord for LogicalTime
impl Ord for LogicalTime
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 PartialEq for LogicalTime
impl PartialEq for LogicalTime
Source§impl PartialOrd for LogicalTime
impl PartialOrd for LogicalTime
impl StructuralPartialEq for LogicalTime
Auto Trait Implementations§
impl Freeze for LogicalTime
impl RefUnwindSafe for LogicalTime
impl Send for LogicalTime
impl Sync for LogicalTime
impl Unpin for LogicalTime
impl UnsafeUnpin for LogicalTime
impl UnwindSafe for LogicalTime
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