pub struct Atomic(/* private fields */);
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 !Freeze for Atomic
impl RefUnwindSafe for Atomic
impl Send for Atomic
impl Sync for Atomic
impl Unpin for Atomic
impl UnwindSafe for Atomic
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