pub enum Error<ParseError: Error> {
Io(Error),
Parse(ParseError),
NoPath,
}Variants§
Trait Implementations§
Source§impl<ParseError: Error> Error for Error<ParseError>
impl<ParseError: Error> Error for Error<ParseError>
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<ParseError> Freeze for Error<ParseError>where
ParseError: Freeze,
impl<ParseError> !RefUnwindSafe for Error<ParseError>
impl<ParseError> Send for Error<ParseError>where
ParseError: Send,
impl<ParseError> Sync for Error<ParseError>where
ParseError: Sync,
impl<ParseError> Unpin for Error<ParseError>where
ParseError: Unpin,
impl<ParseError> !UnwindSafe for Error<ParseError>
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