Struct tchannel::oneshot::Sender
[−]
[src]
pub struct Sender<T> { /* fields omitted */ }
The sending side of the channel. See channel
to create a channel.
Methods
impl<T> Sender<T>
[src]
fn send(self, value: T) -> Result<(), SendError<T>>
[src]
Send a value
across the channel. If this returns an error it means
the receiving end has been disconnected.