pub enum ErofsReaderError {
DirectoryHardlinks,
DepthExceeded,
InvalidSelfReference,
InvalidParentReference,
FileTypeMismatch,
}Expand description
Errors that can occur when reading EROFS images
Variants§
DirectoryHardlinks
Directory has multiple hard links (not allowed)
DepthExceeded
Directory nesting exceeds maximum depth
InvalidSelfReference
The ‘.’ entry is invalid
InvalidParentReference
The ‘..’ entry is invalid
FileTypeMismatch
File type in directory entry doesn’t match inode
Trait Implementations§
Source§impl Debug for ErofsReaderError
impl Debug for ErofsReaderError
Source§impl Display for ErofsReaderError
impl Display for ErofsReaderError
Source§impl Error for ErofsReaderError
impl Error for ErofsReaderError
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()
Auto Trait Implementations§
impl Freeze for ErofsReaderError
impl RefUnwindSafe for ErofsReaderError
impl Send for ErofsReaderError
impl Sync for ErofsReaderError
impl Unpin for ErofsReaderError
impl UnwindSafe for ErofsReaderError
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