Struct tokio::runtime::time::AtomicOptionNonZeroU64
source · struct AtomicOptionNonZeroU64(AtomicU64);
Tuple Fields§
§0: AtomicU64
Implementations§
source§impl AtomicOptionNonZeroU64
impl AtomicOptionNonZeroU64
fn new(val: Option<NonZeroU64>) -> Self
fn store(&self, val: Option<NonZeroU64>)
fn load(&self) -> Option<NonZeroU64>
Auto Trait Implementations§
impl !Freeze for AtomicOptionNonZeroU64
impl RefUnwindSafe for AtomicOptionNonZeroU64
impl Send for AtomicOptionNonZeroU64
impl Sync for AtomicOptionNonZeroU64
impl Unpin for AtomicOptionNonZeroU64
impl UnwindSafe for AtomicOptionNonZeroU64
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