Struct nbchan::oneshot::Receiver [−][src]
pub struct Receiver<T>(_);
The receiving-half of an asynchronous oneshot channel.
Methods
impl<T> Receiver<T>
[src]
impl<T> Receiver<T>
pub fn try_recv(&mut self) -> Result<T, TryRecvError>
[src]
pub fn try_recv(&mut self) -> Result<T, TryRecvError>
Attempts to return a pending value on this receiver without blocking.
Trait Implementations
impl<T: Debug> Debug for Receiver<T>
[src]
impl<T: Debug> Debug for Receiver<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Drop for Receiver<T>
[src]
impl<T> Drop for Receiver<T>
impl<T: Send> Send for Receiver<T>
[src]
impl<T: Send> Send for Receiver<T>