Module std::io::copy

source ·

Traits

  • 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.
  • Specialization of the read-write loop that either uses a stack buffer or reuses the internal buffer of a BufWriter

Functions

  • Copies the entire contents of a reader into a writer.
  • 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.