Trait ToByteStream

trait ToByteStream

Implemented by complex types that don't require any additional context to build themselves to a writer

Associated Types

type Error

Error generated during building, such as io::Error

Required Methods

fn to_writer<W: ByteWrite + ?Sized>(self: &Self, w: &mut W) -> Result<(), <Self as >::Error>
where
    Self: Sized

Generate self to writer