pub struct SignalSender<T> { /* private fields */ }Expand description
The SignalSender is used to send messages into a shared message queue.
It is clonable, and multiple senders can be created to send messages into
the same queue. Each message is sent to a receiver, but only the currently
active receiver can receive messages.
Implementations§
Source§impl<T> SignalSender<T>
impl<T> SignalSender<T>
Auto Trait Implementations§
impl<T> Freeze for SignalSender<T>
impl<T> RefUnwindSafe for SignalSender<T>
impl<T> Send for SignalSender<T>where
T: Send,
impl<T> Sync for SignalSender<T>where
T: Send,
impl<T> Unpin for SignalSender<T>
impl<T> UnwindSafe for SignalSender<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