pub enum ParsingError {
Show 24 variants
InvalidSuperBlock(u64),
InvalidSuperBlockMagic(u16),
InvalidInodeSize(u16),
BlockNumberOutOfBounds(u64),
BlockSizeInvalid(u32),
InvalidBlockGroupDesc(u64),
InvalidInode(u32),
InvalidExtentHeader,
InvalidExtentHeaderMagic(u16),
InvalidExtent(u64),
ExtentUnexpectedLength(u64, u64),
InvalidDirEntry2(u64),
DirEntry2NonUtf8(Vec<u8>),
InvalidInputPath,
PathNotFound(String),
BadEntryType(u8),
BannedFeatureIncompat(u32),
RequiredFeatureIncompat(u32),
Incompatible(String),
BadFile(String),
BadDirectory(String),
InvalidAddress(InvalidAddressErrorType, u64, u64),
SourceReadError(u64),
NotFile,
}
Variants§
InvalidSuperBlock(u64)
InvalidSuperBlockMagic(u16)
InvalidInodeSize(u16)
BlockNumberOutOfBounds(u64)
BlockSizeInvalid(u32)
InvalidBlockGroupDesc(u64)
InvalidInode(u32)
InvalidExtentHeader
InvalidExtentHeaderMagic(u16)
InvalidExtent(u64)
ExtentUnexpectedLength(u64, u64)
InvalidDirEntry2(u64)
DirEntry2NonUtf8(Vec<u8>)
InvalidInputPath
PathNotFound(String)
BadEntryType(u8)
BannedFeatureIncompat(u32)
Feature Incompatible flags
RequiredFeatureIncompat(u32)
Incompatible(String)
Message including what ext filesystem feature was found that we do not support
BadFile(String)
BadDirectory(String)
InvalidAddress(InvalidAddressErrorType, u64, u64)
SourceReadError(u64)
NotFile
Trait Implementations§
Source§impl Debug for ParsingError
impl Debug for ParsingError
Source§impl Display for ParsingError
impl Display for ParsingError
Source§impl Error for ParsingError
impl Error for ParsingError
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()
Source§impl From<ReaderError> for ParsingError
impl From<ReaderError> for ParsingError
Source§fn from(err: ReaderError) -> ParsingError
fn from(err: ReaderError) -> ParsingError
Converts to this type from the input type.
Source§impl PartialEq for ParsingError
impl PartialEq for ParsingError
impl StructuralPartialEq for ParsingError
Auto Trait Implementations§
impl Freeze for ParsingError
impl RefUnwindSafe for ParsingError
impl Send for ParsingError
impl Sync for ParsingError
impl Unpin for ParsingError
impl UnwindSafe for ParsingError
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