Trait std::io::Write [] [src]

pub trait Write {
    fn write(&mut self, buf: &[u8]) -> Result<usize>;

    fn write_fmt(&mut self, args: Arguments) -> Result<()> { ... }
    fn flush(&mut self) -> Result<()> { ... }
}

Types you can write

Required Methods

fn write(&mut self, buf: &[u8]) -> Result<usize>

Write to the file

Provided Methods

fn write_fmt(&mut self, args: Arguments) -> Result<()>

Write a format to the file

fn flush(&mut self) -> Result<()>

Implementors