pub enum MyError {
Clap(Error),
Glob(PatternError),
Io(Error),
ParseInt(ParseIntError),
Prefix(StripPrefixError),
Regex(Error),
Walk(Error),
Text(&'static str),
}Variants§
Clap(Error)
Glob(PatternError)
Io(Error)
ParseInt(ParseIntError)
Prefix(StripPrefixError)
Regex(Error)
Walk(Error)
Text(&'static str)
Implementations§
Trait Implementations§
source§impl From<ParseIntError> for MyError
impl From<ParseIntError> for MyError
source§fn from(error: ParseIntError) -> MyError
fn from(error: ParseIntError) -> MyError
Converts to this type from the input type.
source§impl From<PatternError> for MyError
impl From<PatternError> for MyError
source§fn from(error: PatternError) -> MyError
fn from(error: PatternError) -> MyError
Converts to this type from the input type.
source§impl From<StripPrefixError> for MyError
impl From<StripPrefixError> for MyError
source§fn from(error: StripPrefixError) -> MyError
fn from(error: StripPrefixError) -> MyError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MyError
impl Send for MyError
impl Sync for MyError
impl Unpin for MyError
impl !UnwindSafe for MyError
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