pub trait IntoIoErrorKind {
// Required method
fn into_io_error_kind(self) -> IoErrorKind;
}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§
Sourcefn into_io_error_kind(self) -> IoErrorKind
fn into_io_error_kind(self) -> IoErrorKind
Return the I/O kind that best describes this failure for a caller.