BufferedReaderSpecSpecialization 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.
BufferedWriterSpecSpecialization of the read-write loop in generic_copy that either uses a
stack buffer or reuses the internal buffer of a BufWriter.
Functions
generic_copyThe userspace read-write-loop implementation of io::copy that is used when
OS-specific specializations for copy offloading are not available or not applicable.
stack_buffer_copyCopies from reader to writer using a stack-allocated buffer (a fixed sized array).