Trait coreplus::io::Write[][src]

pub trait Write {
    type Error;
    type IoSlice: IoSlice<'a>;
    fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
fn flush(&mut self) -> Result<(), Self::Error>; fn write_vectored(
        &mut self,
        bufs: &[Self::IoSlice]
    ) -> Result<usize, Self::Error> { ... } }
Expand description

Write bytes.

When the std feature is enabled (by default), this trait is automatically implemented for any type that implemented std::io::Write.

Associated Types

Required methods

Provided methods

Implementors