pub struct Stamp { /* private fields */ }Expand description
Stamp attached to durable namespace records.
Implementations§
Source§impl Stamp
impl Stamp
Sourcepub fn new(
revision_tick: RevisionTick,
wall_time_ms: Option<WallTimeMs>,
) -> Self
pub fn new( revision_tick: RevisionTick, wall_time_ms: Option<WallTimeMs>, ) -> Self
Create a stamp from logical and optional wall-clock observations.
Sourcepub fn revision_tick(self) -> RevisionTick
pub fn revision_tick(self) -> RevisionTick
The revision/tick pair.
Sourcepub fn wall_time_ms(self) -> Option<WallTimeMs>
pub fn wall_time_ms(self) -> Option<WallTimeMs>
The optional wall-clock observation.
Trait Implementations§
impl Copy for Stamp
impl Eq for Stamp
impl StructuralPartialEq for Stamp
Auto Trait Implementations§
impl Freeze for Stamp
impl RefUnwindSafe for Stamp
impl Send for Stamp
impl Sync for Stamp
impl Unpin for Stamp
impl UnsafeUnpin for Stamp
impl UnwindSafe for Stamp
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