pub struct Error(/* private fields */);
Expand description
This crate specific error type.
Methods from Deref<Target = TrackableError<ErrorKind>>§
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<TrackableError<ErrorKind>> for Error
impl From<TrackableError<ErrorKind>> for Error
Source§fn from(f: TrackableError<ErrorKind>) -> Self
fn from(f: TrackableError<ErrorKind>) -> Self
Converts to this type from the input type.
Source§impl Trackable for Error
impl Trackable for Error
Source§fn history(&self) -> Option<&History<Self::Event>>
fn history(&self) -> Option<&History<Self::Event>>
Returns the reference of the tracking history of this instance. Read more
Source§fn history_mut(&mut self) -> Option<&mut History<Self::Event>>
fn history_mut(&mut self) -> Option<&mut History<Self::Event>>
Returns the mutable reference of the tracking history of this instance. Read more
Source§fn track<F>(&mut self, f: F)
fn track<F>(&mut self, f: F)
Add an event into the tail of the history of this instance. Read more
Source§fn in_tracking(&self) -> bool
fn in_tracking(&self) -> bool
Returns
true
if it is being tracked, otherwise false
.Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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