pub enum DirectoryError<O: ReadOffset>{
CreateClustersReaderFailed(ClusterChainError),
ReadEntryFailed(EntryReaderError<Arc<O>>),
NotPrimaryEntry(u8),
NotFileEntry(u8),
InvalidFileEntry(FileParserError<Arc<O>>),
}Variants§
CreateClustersReaderFailed(ClusterChainError)
ReadEntryFailed(EntryReaderError<Arc<O>>)
NotPrimaryEntry(u8)
NotFileEntry(u8)
InvalidFileEntry(FileParserError<Arc<O>>)
Trait Implementations§
Source§impl<O: Debug + ReadOffset> Debug for DirectoryError<O>
impl<O: Debug + ReadOffset> Debug for DirectoryError<O>
Source§impl<O: ReadOffset> Display for DirectoryError<O>
impl<O: ReadOffset> Display for DirectoryError<O>
Source§impl<O: ReadOffset> Error for DirectoryError<O>where
O::Err: Debug,
EntryReaderError<Arc<O>>: Error + 'static,
FileParserError<Arc<O>>: Error + 'static,
Self: Debug + Display,
impl<O: ReadOffset> Error for DirectoryError<O>where
O::Err: Debug,
EntryReaderError<Arc<O>>: Error + 'static,
FileParserError<Arc<O>>: Error + 'static,
Self: Debug + Display,
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<ClusterChainError> for DirectoryError<O>
impl<O: ReadOffset> From<ClusterChainError> for DirectoryError<O>
Source§fn from(source: ClusterChainError) -> Self
fn from(source: ClusterChainError) -> 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<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.
Auto Trait Implementations§
impl<O> Freeze for DirectoryError<O>
impl<O> RefUnwindSafe for DirectoryError<O>
impl<O> Send for DirectoryError<O>
impl<O> Sync for DirectoryError<O>
impl<O> Unpin for DirectoryError<O>
impl<O> UnwindSafe for DirectoryError<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