Struct relay::Sender
[−]
[src]
pub struct Sender<T> { /* fields omitted */ }The Sender portion of a channel.
Methods
impl<T> Sender<T>[src]
fn complete(self, val: T)
Sends the message to the Receiver.
fn is_canceled(&self) -> bool
Returns true if the Receiver has been dropped.
fn waiting(self) -> Waiting<T>
Creates a Future that waits until someone is waiting on the Receiver.