pub struct Error(_);
Expand description
crate固有のエラー型.
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)>
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<T> From<PoisonError<T>> for Error
impl<T> From<PoisonError<T>> for Error
source§fn from(e: PoisonError<T>) -> Self
fn from(e: PoisonError<T>) -> Self
Converts to this type from the input type.
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)where
F: FnOnce() -> Self::Event,
fn track<F>(&mut self, f: F)where
F: FnOnce() -> Self::Event,
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
.