[−][src]Enum statrs::StatsError
Enumeration of possible errors thrown within the statrs
library
Variants
BadParams
Generic bad input parameter error
ArgMustBePositive(&'static str)
An argument should have been positive and was not
ArgNotNegative(&'static str)
An argument should have been non-negative and was not
ArgIntervalIncl(&'static str, f64, f64)
An argument should have fallen between an inclusive range but didn't
ArgIntervalExcl(&'static str, f64, f64)
An argument should have fallen between an exclusive range but didn't
ArgIntervalExclMin(&'static str, f64, f64)
An argument should have fallen in a range excluding the min but didn't
ArgIntervalExclMax(&'static str, f64, f64)
An argument should have falled in a range excluding the max but didn't
ArgGt(&'static str, f64)
An argument must have been greater than a value but wasn't
ArgGtArg(&'static str, &'static str)
An argument must have been greater than another argument but wasn't
ArgGte(&'static str, f64)
An argument must have been greater than or equal to a value but wasn't
ArgGteArg(&'static str, &'static str)
An argument must have been greater than or equal to another argument but wasn't
ArgLt(&'static str, f64)
An argument must have been less than a value but wasn't
ArgLtArg(&'static str, &'static str)
An argument must have been less than another argument but wasn't
ArgLte(&'static str, f64)
An argument must have been less than or equal to a value but wasn't
ArgLteArg(&'static str, &'static str)
An argument must have been less than or equal to another argument but wasn't
ContainersMustBeSameLength
Containers of the same length were expected
ComputationFailedToConverge
Computation failed to converge,
ContainerExpectedSum(&'static str, f64)
Elements in a container were expected to sum to a value but didn't
ContainerExpectedSumVar(&'static str, &'static str)
Elements in a container were expected to sum to a variable but didn't
SpecialCase(&'static str)
Special case exception
Trait Implementations
impl Debug for StatsError
[src]
impl Display for StatsError
[src]
impl Error for StatsError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
fn type_id(&self) -> TypeId where
Self: 'static,
1.34.0[src]
Self: 'static,
Gets the TypeId
of self
Auto Trait Implementations
impl Send for StatsError
impl Sync for StatsError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,