pub struct AtomicOptionArc<T>(/* private fields */);Expand description
An atomic pointer for Option<Arc>.
This is similar to AtomicArc, but allows null values.
Implementations§
Source§impl<T> AtomicOptionArc<T>
impl<T> AtomicOptionArc<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for AtomicOptionArc<T>
impl<T> RefUnwindSafe for AtomicOptionArc<T>where
T: RefUnwindSafe,
impl<T> Send for AtomicOptionArc<T>
impl<T> Sync for AtomicOptionArc<T>
impl<T> Unpin for AtomicOptionArc<T>
impl<T> UnwindSafe for AtomicOptionArc<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