Trait BufferedReaderSpec

pub(in ::io::copy::generic) trait BufferedReaderSpec

Specialization of the read-write loop in generic_copy that reuses the internal buffer of a BufReader. If there's no buffer then the writer side should be used instead.

Required Methods

fn buffer_priority(&self) -> usize
fn copy_to(&mut self, to: &mut impl Write + ?Sized) -> Result<u64>

Implementors