Skip to main content

io_other

Function io_other 

Source
pub fn io_other<E>(error: E) -> Error
where E: Into<Box<dyn Error + Send + Sync>>,
Expand description

Construct an io::Error of kind Other wrapping error.

Modern: io::Error::other (stable since Rust 1.74). Vintage (1.73): the equivalent io::Error::new(ErrorKind::Other, ..).