Trait gjio::AsyncWrite [] [src]

pub trait AsyncWrite {
    fn write<T: AsRef<[u8]>>(&mut self, buf: T) -> Promise<T, Error>;
}

A nonblocking output bytestream.

Required Methods

Attempts to write all buf.len() bytes from buf into the stream. Returns buf once all of the bytes have been written.

Implementors