pub trait IntoRead {
type Read: Read;
// Required method
fn into_read(self) -> Self::Read;
}Expand description
Something that can be turned into a reader compatible with Encoder
This is automatically implemented for some standard types, like byte slices and vectors of bytes.