io_error

Function io_error 

Source
pub fn io_error<S>(err: S) -> Error
where S: ToString,
Expand description

Generates an io::Error from the given string.