Macro std::io::error::const_io_error

source ·
pub(crate) macro 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.