Trait BufferedWriterSpec

pub(in ::io::copy::generic) trait BufferedWriterSpec: Write

Specialization of the read-write loop in generic_copy that either uses a stack buffer or reuses the internal buffer of a BufWriter.

Required Methods

fn buffer_priority(&self) -> usize
fn copy_from<R: Read + ?Sized>(&mut self, reader: &mut R) -> Result<u64>

Implementors