Struct wire::tcp::OutTcpStream [] [src]

pub struct OutTcpStream<T> {
    // some fields omitted
}

Methods

impl<'a, T> OutTcpStream<T> where T: Encodable

fn send(&mut self, m: &T) -> EncodingResult<()>

fn send_all<'b, I: Iterator<Item=&'b T>>(&mut self, i: I) -> Result<(), (&'b T, I, EncodingError)>

fn close(self)

Trait Implementations

impl<T> Drop for OutTcpStream<T>

fn drop(&mut self)