[][src]Enum rulinalg::error::ErrorKind

pub enum ErrorKind {
    InvalidArg,
    DecompFailure,
    AlgebraFailure,
    DivByZero,
    ScalarConversionFailure,
    InvalidPermutation,
}

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 PartialEq<ErrorKind> for ErrorKind[src]

impl Debug for ErrorKind[src]

Auto Trait Implementations

impl Sync for ErrorKind

impl Send for ErrorKind

impl Unpin for ErrorKind

impl UnwindSafe for ErrorKind

impl RefUnwindSafe for ErrorKind

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]