Skip to main content

HostFileWrite

Trait HostFileWrite 

Source
pub trait HostFileWrite {
    // Required method
    fn write_all(&mut self, buf: &[u8]) -> Result<(), IoError>;
}
Expand description

Host file writer.

Required Methods§

Source

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

Fully write the provided buffer to the output stream.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§