Struct relay::Sender [] [src]

pub struct Sender<T> { /* fields omitted */ }

The Sender portion of a channel.

Methods

impl<T> Sender<T>
[src]

Sends the message to the Receiver.

Returns true if the Receiver has been dropped.

Creates a Future that waits until someone is waiting on the Receiver.

Trait Implementations

impl<T> Drop for Sender<T>
[src]

Executes the destructor for this type. Read more

impl<T> Debug for Sender<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> !Send for Sender<T>

impl<T> !Sync for Sender<T>