Skip to main content

WriteBuffer

Trait WriteBuffer 

Source
pub trait WriteBuffer {
    // Required method
    fn write_str(&mut self, s: &str) -> AzUtilResult<()>;
}
Expand description

Minimal writable buffer trait

Required Methods§

Source

fn write_str(&mut self, s: &str) -> AzUtilResult<()>

Writes a &str into the buffer

Implementations on Foreign Types§

Source§

impl WriteBuffer for String

Source§

fn write_str(&mut self, s: &str) -> AzUtilResult<()>

Source§

impl WriteBuffer for Vec<u8>

Source§

fn write_str(&mut self, s: &str) -> AzUtilResult<()>

Implementors§