Trait capnp::io::Write

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

A rough approximation of std::io::Write.

Required Methods§

source

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

Implementors§

source§

impl<W> Write for W
where W: Write,