pub trait WriteInto {
    type Output;

    fn write_into(self, sink: &mut impl Write) -> Result<Self::Output>;
}
Expand description

Writes value into I/O sink.

Required Associated Types

Result of WriteInto::write_into function (e.g. () or usize).

Required Methods

Writes value into I/O sink.

Implementors

Returns how many items was written.

Transmutes arbitrary value into a byte slice.

Transmutes arbitrary slice into a byte slice.

Returns how many items was written.

Returns how many items was written.

Returns how many items was written.