Enum lfs_core::StatsError
source · pub enum StatsError {
Unreachable,
Unconsistent,
Excluded,
}
Variants§
Trait Implementations§
source§impl Clone for StatsError
impl Clone for StatsError
source§fn clone(&self) -> StatsError
fn clone(&self) -> StatsError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatsError
impl Debug for StatsError
source§impl Display for StatsError
impl Display for StatsError
source§impl Error for StatsErrorwhere
Self: Debug + Display,
impl Error for StatsErrorwhere Self: Debug + Display,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for StatsError
impl ErrorCompat for StatsError
source§fn iter_chain(&self) -> ChainCompat<'_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_>where Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moresource§impl PartialEq for StatsError
impl PartialEq for StatsError
source§fn eq(&self, other: &StatsError) -> bool
fn eq(&self, other: &StatsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StatsError
impl Eq for StatsError
impl StructuralEq for StatsError
impl StructuralPartialEq for StatsError
Auto Trait Implementations§
impl RefUnwindSafe for StatsError
impl Send for StatsError
impl Sync for StatsError
impl Unpin for StatsError
impl UnwindSafe for StatsError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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