Struct force_send_sync::SendSync
source · #[repr(transparent)]pub struct SendSync<T>(_);
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> 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