pub struct FragileComfirmed<T> { /* private fields */ }
Expand description
A FragileComfirmed<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> FragileComfirmed<T>
impl<T> FragileComfirmed<T>
Trait Implementations§
Source§impl<T> Deref for FragileComfirmed<T>
impl<T> Deref for FragileComfirmed<T>
Source§impl<T> DerefMut for FragileComfirmed<T>
impl<T> DerefMut for FragileComfirmed<T>
impl<T> Send for FragileComfirmed<T>
impl<T> Sync for FragileComfirmed<T>
Auto Trait Implementations§
impl<T> Freeze for FragileComfirmed<T>where
T: Freeze,
impl<T> RefUnwindSafe for FragileComfirmed<T>where
T: RefUnwindSafe,
impl<T> Unpin for FragileComfirmed<T>where
T: Unpin,
impl<T> UnwindSafe for FragileComfirmed<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