devela/sys/io/
impls.rs
1use crate::{ExtError, IoError, IoErrorKind};
4
5impl ExtError for IoError {
6 type Kind = IoErrorKind;
7
8 fn error_eq(&self, other: &Self) -> bool {
9 self.error_kind() == other.error_kind()
10 }
11
12 fn error_kind(&self) -> Self::Kind {
13 self.kind()
14 }
15}