Enum statrs::StatsError [−][src]
Enumeration of possible errors thrown within the statrs
library
Variants
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
An argument should have fallen between an inclusive range but didn’t
An argument should have fallen between an exclusive range but didn’t
An argument should have fallen in a range excluding the min but didn’t
An argument should have falled in a range excluding the max but didn’t
An argument must have been greater than a value but wasn’t
An argument must have been greater than another argument but wasn’t
An argument must have been greater than or equal to a value but wasn’t
An argument must have been greater than or equal to another argument but wasn’t
An argument must have been less than a value but wasn’t
An argument must have been less than another argument but wasn’t
An argument must have been less than or equal to a value but wasn’t
An argument must have been less than or equal to another argument but wasn’t
Containers of the same length were expected
Computation failed to converge,
Elements in a container were expected to sum to a value but didn’t
Elements in a container were expected to sum to a variable but didn’t
SpecialCase(&'static str)
Special case exception
Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,