Trait Header

Source
pub trait Header {
    // Required method
    fn write_header(
        &self,
        output: impl Write,
        bytes_written: usize,
    ) -> Result<usize>;
}

Required Methods§

Source

fn write_header( &self, output: impl Write, bytes_written: usize, ) -> Result<usize>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§