pub struct Atomic(_);
Expand description
A marker of an atomic (and hence concurrent) tendril.
This is used as the second, optional type parameter of a Tendril
;
Tendril<F, Atomic>
thus implementsSend
.
This is akin to using Arc
for reference counting.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Atomic
impl Send for Atomic
impl Sync for Atomic
impl Unpin for Atomic
impl UnwindSafe for Atomic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more