Skip to main content

Instant

Trait Instant 

Source
pub trait Instant:
    Copy
    + Ord
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

What a stamp is: a reading of a StampClock, ordered, and cheap to copy and share.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Instant for T
where T: Copy + Ord + Debug + Send + Sync + 'static,