pub enum ErrorKind {
InvalidArg,
DecompFailure,
AlgebraFailure,
DivByZero,
ScalarConversionFailure,
InvalidPermutation,
}
Expand description
Types of errors produced in the linalg module.
List intended to grow and so you should be wary of matching against explicitly.
Variants
InvalidArg
An argument did not uphold a necessary criteria for the function.
DecompFailure
A failure to decompose due to some property of the data.
AlgebraFailure
A failure due to some algebraic constraints not being met.
DivByZero
Tried to divide by zero
ScalarConversionFailure
Failure due to inability to convert between scalar types
InvalidPermutation
A user-supplied permutation is not a valid permutation.
Trait Implementations
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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