pub trait AtomicInstant<I>: Debugwhere
I: Instant,{
// Required methods
fn new(instant: I) -> Self;
fn load(&self, ordering: Ordering) -> I;
fn store(&self, instant: I, ordering: Ordering);
fn store_max(&self, instant: I, ordering: Ordering);
}
Expand description
A type representing an instant in time that can be atomically updated.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.