Module copy

Source

Traits§

BufferedReaderSpec 🔒
Specialization of the read-write loop that reuses the internal buffer of a BufReader. If there’s no buffer then the writer side should be used instead.
BufferedWriterSpec 🔒
Specialization of the read-write loop that either uses a stack buffer or reuses the internal buffer of a BufWriter

Functions§

copy
Copies the entire contents of a reader into a writer.
generic_copy 🔒
The 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_copy