Enum lfs_core::StatsError
source · [−]pub enum StatsError {
Unreachable,
Unconsistent,
}
Variants
Unreachable
Unconsistent
Trait Implementations
sourceimpl Clone for StatsError
impl Clone for StatsError
sourcefn clone(&self) -> StatsError
fn clone(&self) -> StatsError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StatsError
impl Debug for StatsError
sourceimpl Display for StatsError
impl Display for StatsError
sourceimpl Error for StatsError where
Self: Debug + Display,
impl Error for StatsError where
Self: Debug + Display,
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
sourceimpl ErrorCompat for StatsError
impl ErrorCompat for StatsError
sourcefn 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 more
sourceimpl PartialEq<StatsError> for StatsError
impl PartialEq<StatsError> for StatsError
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
sourceimpl<T> AsErrorSource for T where
T: 'static + Error,
impl<T> AsErrorSource for T where
T: 'static + Error,
sourcefn 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. Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more