Trait Writer
Other items inbinver
pub trait Writer { fn write(&mut self, bytes: &[u8]) -> WriteResult; }
Generic writer
fn write(&mut self, bytes: &[u8]) -> WriteResult
Write all bytes from the given slice to the writer. This function must block until all bytes have been written.
impl Writer for Vec<u8>