[][src]Struct tcp_channel::Sender

pub struct Sender<T: Serialize, W: Write = BufWriter<TcpStream>> { /* fields omitted */ }

The sending side of a channel.

Methods

impl<T: Serialize, W: Write> Sender<T, W>[src]

pub fn flush(&mut self) -> Result<()>[src]

Trait Implementations

impl<T: Serialize, W: Write> ChannelSend<T> for Sender<T, W>[src]

type Error = SendError

Auto Trait Implementations

impl<T, W> Send for Sender<T, W> where
    T: Send,
    W: Send

impl<T, W> Sync for Sender<T, W> where
    T: Sync,
    W: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.