Skip to main content

WriteByte

Trait WriteByte 

Source
pub trait WriteByte: Write {
    // Required method
    fn write_u8(&mut self, byte: u8) -> Result;
}

Required Methods§

Source

fn write_u8(&mut self, byte: u8) -> Result

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<W: WriteByte> WriteByte for &mut W

Source§

fn write_u8(&mut self, byte: u8) -> Result

Implementors§