[][src]Trait tcp_channel::ChannelRecv

pub trait ChannelRecv<T> {
    type Error;
    fn recv(&mut self) -> Result<T, Self::Error>;
}

Associated Types

type Error

Loading content...

Required methods

fn recv(&mut self) -> Result<T, Self::Error>

Loading content...

Implementations on Foreign Types

impl<T> ChannelRecv<T> for StdReceiver<T>[src]

type Error = StdRecvError

Loading content...

Implementors

impl<T: DeserializeOwned, R: Read> ChannelRecv<T> for Receiver<T, R>[src]

type Error = RecvError

Loading content...