pub struct Sender<T> { /* private fields */ }Expand description
Single-use sender of a multi-shot channel.
A Sender can be created with the channel function or by recycling a
previously consumed sender with the Receiver::sender method.
Implementations§
Trait Implementations§
impl<T> RefUnwindSafe for Sender<T>
impl<T: Send> Send for Sender<T>
impl<T: Send> Sync for Sender<T>
impl<T> UnwindSafe for Sender<T>
Auto Trait Implementations§
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