Function err

Source
fn err(k: ErrorKind) -> Error
Expand description

Wrap k in a new std::io::Error.