pub enum EntryReaderError<O: ReadOffset> {
ReadFailed(usize, u32, O::Err),
Entry(DirEntryError),
}Variants§
Trait Implementations§
Source§impl<O: Debug + ReadOffset> Debug for EntryReaderError<O>
impl<O: Debug + ReadOffset> Debug for EntryReaderError<O>
Source§impl<O: ReadOffset> Display for EntryReaderError<O>
impl<O: ReadOffset> Display for EntryReaderError<O>
Source§impl<O: ReadOffset> Error for EntryReaderError<O>
impl<O: ReadOffset> Error for EntryReaderError<O>
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<O: ReadOffset> From<DirEntryError> for EntryReaderError<O>
impl<O: ReadOffset> From<DirEntryError> for EntryReaderError<O>
Source§fn from(source: DirEntryError) -> Self
fn from(source: DirEntryError) -> Self
Converts to this type from the input type.
Source§impl<O: ReadOffset> From<EntryReaderError<Arc<O>>> for DirectoryError<O>
impl<O: ReadOffset> From<EntryReaderError<Arc<O>>> for DirectoryError<O>
Source§fn from(source: EntryReaderError<Arc<O>>) -> Self
fn from(source: EntryReaderError<Arc<O>>) -> Self
Converts to this type from the input type.
Source§impl<O: ReadOffset> From<EntryReaderError<Arc<O>>> for RootError<O>
impl<O: ReadOffset> From<EntryReaderError<Arc<O>>> for RootError<O>
Source§fn from(source: EntryReaderError<Arc<O>>) -> Self
fn from(source: EntryReaderError<Arc<O>>) -> Self
Converts to this type from the input type.
Source§impl<O: ReadOffset> From<EntryReaderError<O>> for FileParserError<O>
impl<O: ReadOffset> From<EntryReaderError<O>> for FileParserError<O>
Source§fn from(source: EntryReaderError<O>) -> Self
fn from(source: EntryReaderError<O>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<O> Freeze for EntryReaderError<O>
impl<O> RefUnwindSafe for EntryReaderError<O>
impl<O> Send for EntryReaderError<O>
impl<O> Sync for EntryReaderError<O>
impl<O> Unpin for EntryReaderError<O>
impl<O> UnwindSafe for EntryReaderError<O>
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