pub enum DirectoryOrFileErrorKind {
PathNotFound,
OpeningFile,
Parsing(Error),
ReadingDirectory,
}Expand description
Represents the kind of errors that can occur during directory or file parsing.
Variants§
PathNotFound
The specified path does not exist or cannot be accessed.
OpeningFile
Failed to open a multilinear definition file for reading.
Parsing(Error)
A parsing error occurred within a specific file.
ReadingDirectory
Failed to read directory contents.
Trait Implementations§
Source§impl Debug for DirectoryOrFileErrorKind
impl Debug for DirectoryOrFileErrorKind
Source§impl Display for DirectoryOrFileErrorKind
impl Display for DirectoryOrFileErrorKind
Source§impl Error for DirectoryOrFileErrorKind
impl Error for DirectoryOrFileErrorKind
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 DirectoryOrFileErrorKind
impl RefUnwindSafe for DirectoryOrFileErrorKind
impl Send for DirectoryOrFileErrorKind
impl Sync for DirectoryOrFileErrorKind
impl Unpin for DirectoryOrFileErrorKind
impl UnwindSafe for DirectoryOrFileErrorKind
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