pub fn clone_io_error(err: &Error) -> ErrorExpand description
Clones an I/O error’s kind and debug representation.
std::io::Error is not generally cloneable. The returned error preserves
the original io::ErrorKind and uses the original error’s debug output as
its message.