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