pub trait IntoBufferReader<B> {
// Required method
fn into_buffer_reader(self) -> BufferReader<B>;
}
Expand description
Types that can be converted into a BufferReader
over a ByteSlice
.
Both BufferReader
and ByteSlice
types implement this trait and it can be used to accept
both byte slices and readers.