Macro const_io_error

Source
macro_rules! const_io_error {
    ($kind:expr, $message:expr $(,)?) => { ... };
}
Expand description

Create and return an io::Error for a given ErrorKind and constant message. This doesn’t allocate.