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)
[src]
Sends the message to the Receiver
.
fn is_canceled(&self) -> bool
[src]
Returns true if the Receiver
has been dropped.
fn waiting(self) -> Waiting<T>
[src]
Creates a Future
that waits until someone is waiting on the Receiver
.