pub struct NonFatalError(pub Error);
Expand description
Represents a recoverable error. Intended to be embedded in Error
.
Tuple Fields§
§0: Error
Trait Implementations§
Source§impl Debug for NonFatalError
impl Debug for NonFatalError
Source§impl Display for NonFatalError
impl Display for NonFatalError
Source§impl Error for NonFatalError
impl Error for NonFatalError
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 NonFatalError
impl RefUnwindSafe for NonFatalError
impl Send for NonFatalError
impl Sync for NonFatalError
impl Unpin for NonFatalError
impl UnwindSafe for NonFatalError
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