pub struct Sender<T>(_);
Expand description
A Sender
that can be used to send items to the corresponding main context receiver.
This Sender
behaves the same as std::sync::mpsc::Sender
.
See MainContext::channel()
for how to create such a Sender
.
Implementations§
Trait Implementations§
impl<T: Send> Send for Sender<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Sender<T>
impl<T> Sync for Sender<T>where T: Send,
impl<T> Unpin for Sender<T>
impl<T> UnwindSafe for Sender<T>
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