Trait ToByteStreamWith
trait ToByteStreamWith<'a>
Implemented by complex types that require additional context to build themselves to a writer
Associated Types
type Context: Outlives("'a")Some context to use when writing
type ErrorError generated during building, such as
io::Error
Required Methods
fn to_writer<W: ByteWrite + ?Sized>(self: &Self, w: &mut W, context: &<Self as >::Context) -> Result<(), <Self as >::Error> where Self: SizedGenerate self to writer