Struct tchannel::oneshot::Receiver [] [src]

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

The receiving side of the channel. See channel to create a channel.

This Receiver may be turned into a Future using the IntoFuture trait (requires the with-futures feature).

Methods

impl<T> Receiver<T>
[src]

[src]

Try to receive a single value, none blocking. If the channel is empty or if the sender side is disconnected this will return an error.

Trait Implementations

impl<T: Debug> Debug for Receiver<T>
[src]

[src]

Formats the value using the given formatter.