Struct tokio::util::atomic_cell::AtomicCell
source · pub(crate) struct AtomicCell<T> {
data: AtomicPtr<T>,
}
Fields§
§data: AtomicPtr<T>
Implementations§
Trait Implementations§
source§impl<T> Drop for AtomicCell<T>
impl<T> Drop for AtomicCell<T>
impl<T: Send> Send for AtomicCell<T>
impl<T: Send> Sync for AtomicCell<T>
Auto Trait Implementations§
impl<T> !Freeze for AtomicCell<T>
impl<T> RefUnwindSafe for AtomicCell<T>
impl<T> Unpin for AtomicCell<T>
impl<T> UnwindSafe for AtomicCell<T>where
T: RefUnwindSafe,
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