Skip to main content

clone_io_error

Function clone_io_error 

Source
fn clone_io_error(e: &Error) -> Error
Expand description

io::Error is neither Clone nor Copy, so a stored error cannot be returned by value on a subsequent poll. Reconstruct an equivalent error (kind + message) to re-report it.