pub struct SendSync<T>(/* private fields */);
Expand description
Wraps a type to make it implement Send
and Sync
.
Implementations§
Trait Implementations§
impl<T> Send for SendSync<T>
impl<T> Sync for SendSync<T>
Auto Trait Implementations§
impl<T> Freeze for SendSync<T>where
T: Freeze,
impl<T> RefUnwindSafe for SendSync<T>where
T: RefUnwindSafe,
impl<T> Unpin for SendSync<T>where
T: Unpin,
impl<T> UnwindSafe for SendSync<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