Lines Matching refs:ErrorCode
13 pub type FsError = TrappableError<types::ErrorCode>;
15 impl From<crate::filesystem::ErrorCode> for types::ErrorCode { implementation
16 fn from(error: crate::filesystem::ErrorCode) -> Self { in from()
18 crate::filesystem::ErrorCode::Access => Self::Access, in from()
19 crate::filesystem::ErrorCode::Already => Self::Already, in from()
20 crate::filesystem::ErrorCode::BadDescriptor => Self::BadDescriptor, in from()
21 crate::filesystem::ErrorCode::Busy => Self::Busy, in from()
22 crate::filesystem::ErrorCode::Exist => Self::Exist, in from()
23 crate::filesystem::ErrorCode::FileTooLarge => Self::FileTooLarge, in from()
24 crate::filesystem::ErrorCode::IllegalByteSequence => Self::IllegalByteSequence, in from()
25 crate::filesystem::ErrorCode::InProgress => Self::InProgress, in from()
26 crate::filesystem::ErrorCode::Interrupted => Self::Interrupted, in from()
27 crate::filesystem::ErrorCode::Invalid => Self::Invalid, in from()
28 crate::filesystem::ErrorCode::Io => Self::Io, in from()
29 crate::filesystem::ErrorCode::IsDirectory => Self::IsDirectory, in from()
30 crate::filesystem::ErrorCode::Loop => Self::Loop, in from()
31 crate::filesystem::ErrorCode::TooManyLinks => Self::TooManyLinks, in from()
32 crate::filesystem::ErrorCode::NameTooLong => Self::NameTooLong, in from()
33 crate::filesystem::ErrorCode::NoEntry => Self::NoEntry, in from()
34 crate::filesystem::ErrorCode::InsufficientMemory => Self::InsufficientMemory, in from()
35 crate::filesystem::ErrorCode::InsufficientSpace => Self::InsufficientSpace, in from()
36 crate::filesystem::ErrorCode::NotDirectory => Self::NotDirectory, in from()
37 crate::filesystem::ErrorCode::NotEmpty => Self::NotEmpty, in from()
38 crate::filesystem::ErrorCode::Unsupported => Self::Unsupported, in from()
39 crate::filesystem::ErrorCode::Overflow => Self::Overflow, in from()
40 crate::filesystem::ErrorCode::NotPermitted => Self::NotPermitted, in from()
41 crate::filesystem::ErrorCode::Pipe => Self::Pipe, in from()
42 crate::filesystem::ErrorCode::InvalidSeek => Self::InvalidSeek, in from()
47 impl From<crate::filesystem::ErrorCode> for FsError {
48 fn from(error: crate::filesystem::ErrorCode) -> Self { in from()
49 types::ErrorCode::from(error).into() in from()
61 types::ErrorCode::from(error).into() in from()