pub enum FileMatcherError {
TooMany(OneEntry),
NotExists(OneEntry),
NotReadable(PathBuf),
InvalidUnicode(OsString),
IoError(Error),
FsExtraError(Error),
RegexError(Error),
}
Variants§
TooMany(OneEntry)
NotExists(OneEntry)
NotReadable(PathBuf)
InvalidUnicode(OsString)
IoError(Error)
FsExtraError(Error)
RegexError(Error)
Trait Implementations§
Source§impl Debug for FileMatcherError
impl Debug for FileMatcherError
Source§impl Display for FileMatcherError
impl Display for FileMatcherError
Source§impl Error for FileMatcherError
impl Error for FileMatcherError
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 From<Error> for FileMatcherError
impl From<Error> for FileMatcherError
Source§fn from(err: Error) -> FileMatcherError
fn from(err: Error) -> FileMatcherError
Converts to this type from the input type.
Source§impl From<Error> for FileMatcherError
impl From<Error> for FileMatcherError
Source§fn from(err: Error) -> FileMatcherError
fn from(err: Error) -> FileMatcherError
Converts to this type from the input type.
Source§impl<T> From<FileMatcherError> for Result<T, FileMatcherError>
impl<T> From<FileMatcherError> for Result<T, FileMatcherError>
Source§fn from(error: FileMatcherError) -> Self
fn from(error: FileMatcherError) -> Self
Converts to this type from the input type.
impl Send for FileMatcherError
impl Sync for FileMatcherError
Auto Trait Implementations§
impl Freeze for FileMatcherError
impl !RefUnwindSafe for FileMatcherError
impl Unpin for FileMatcherError
impl !UnwindSafe for FileMatcherError
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