Trait netstack3_base::AtomicInstant
source · pub trait AtomicInstant<I: Instant>: Debug {
// 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§
Object Safety§
This trait is not object safe.