pub struct FragileConfirmed<T> { /* private fields */ }
Expand description
A FragileConfirmed<T>
wraps a non sendable T
to be safely send to other threads.
Once the value has been wrapped it can be sent to other threads but access to the value on those threads will fail.
Implementations§
Source§impl<T> FragileConfirmed<T>
impl<T> FragileConfirmed<T>
Trait Implementations§
Source§impl<T> Deref for FragileConfirmed<T>
impl<T> Deref for FragileConfirmed<T>
Source§impl<T> DerefMut for FragileConfirmed<T>
impl<T> DerefMut for FragileConfirmed<T>
impl<T> Send for FragileConfirmed<T>
impl<T> Sync for FragileConfirmed<T>
Auto Trait Implementations§
impl<T> Freeze for FragileConfirmed<T>where
T: Freeze,
impl<T> RefUnwindSafe for FragileConfirmed<T>where
T: RefUnwindSafe,
impl<T> Unpin for FragileConfirmed<T>where
T: Unpin,
impl<T> UnwindSafe for FragileConfirmed<T>where
T: UnwindSafe,
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