pub enum AffsError {
Show 16 variants
BlockReadError,
InvalidDosType,
InvalidBlockType,
InvalidSecType,
ChecksumMismatch,
BlockOutOfRange,
EntryNotFound,
NameTooLong,
InvalidState,
EndOfFile,
NotAFile,
NotADirectory,
BufferTooSmall,
InvalidDataSequence,
NotASymlink,
SymlinkTooLong,
}Expand description
Error type for AFFS operations.
Variants§
BlockReadError
Block read failed.
InvalidDosType
Invalid DOS type signature.
InvalidBlockType
Invalid block type.
InvalidSecType
Invalid secondary type.
ChecksumMismatch
Checksum verification failed.
BlockOutOfRange
Block number out of valid range.
EntryNotFound
Entry not found.
NameTooLong
Name too long (max 30 characters).
InvalidState
Invalid filesystem state.
EndOfFile
End of file reached.
NotAFile
Not a file entry.
NotADirectory
Not a directory entry.
BufferTooSmall
Buffer too small.
InvalidDataSequence
Invalid data block sequence.
NotASymlink
Not a symlink entry.
SymlinkTooLong
Symlink target too long.
Trait Implementations§
Source§impl Error for AffsError
Available on crate feature std only.
impl Error for AffsError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for AffsError
impl Eq for AffsError
impl StructuralPartialEq for AffsError
Auto Trait Implementations§
impl Freeze for AffsError
impl RefUnwindSafe for AffsError
impl Send for AffsError
impl Sync for AffsError
impl Unpin for AffsError
impl UnwindSafe for AffsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more