Trait IntoIoErrorKind
pub trait IntoIoErrorKind {
// Required method
fn into_io_error_kind(self) -> Kind;
}Expand description
Explicit translation of a subsystem error into an I/O kind.
Implemented by the crate that owns the source error, so the shared
io_error crate stays free of subsystem dependencies.
Required Methods§
fn into_io_error_kind(self) -> Kind
fn into_io_error_kind(self) -> Kind
Return the I/O kind that best describes this failure for a caller.