pub struct SendOnly(/* private fields */);Expand description
Marker type for closures that implement Send (but not necessarily Sync).
An InlineFn, InlineFnMut, or InlineFnOnce parameterized with SendOnly is Send
and !Sync.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SendOnly
impl !Sync for SendOnly
impl Freeze for SendOnly
impl Send for SendOnly
impl Unpin for SendOnly
impl UnsafeUnpin for SendOnly
impl UnwindSafe for SendOnly
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