pub struct SendSync(/* private fields */);Expand description
Marker type for closures that implement both Send and Sync.
An InlineFn, InlineFnMut, or InlineFnOnce parameterized with SendSync is both
Send and Sync.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendSync
impl RefUnwindSafe for SendSync
impl Send for SendSync
impl Sync for SendSync
impl Unpin for SendSync
impl UnsafeUnpin for SendSync
impl UnwindSafe for SendSync
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more