#[repr(u32)]pub enum Monotonicity {
NonMonotonic = 0,
Weak = 1,
Strict = 2,
}
Expand description
Possible monotonicities supported by the system monotonic clock.
Variants§
Trait Implementations§
source§impl From<u32> for Monotonicity
impl From<u32> for Monotonicity
source§fn from(value: monotonicity) -> Self
fn from(value: monotonicity) -> Self
Converts to this type from the input type.
source§impl Into<u32> for Monotonicity
impl Into<u32> for Monotonicity
source§fn into(self) -> monotonicity
fn into(self) -> monotonicity
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Monotonicity
impl RefUnwindSafe for Monotonicity
impl Send for Monotonicity
impl Sync for Monotonicity
impl Unpin for Monotonicity
impl UnwindSafe for Monotonicity
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