Trait ByteStreamWriter

Source
pub trait ByteStreamWriter {
    // Required method
    fn write_from_byte_converter(
        &mut self,
        byte_converter: &impl ByteConverter,
    ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>;
}

Required Methods§

Source

fn write_from_byte_converter( &mut self, byte_converter: &impl ByteConverter, ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>

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§

Source§

impl<TWrite: Write> ByteStreamWriter for TWrite