pub trait IntoWrite {
type Write: Write;
// Required method
fn into_write(self) -> Self::Write;
}Expand description
Something that can be turned into a writer compatible with Encoder
This is automatically implemented for some standard types, like byte slices and vectors of bytes.
Required Associated Types§
Required Methods§
Sourcefn into_write(self) -> Self::Write
fn into_write(self) -> Self::Write
Transforms self into a type implementing Write