Enum sprs::errors::SprsError[][src]

#[non_exhaustive]pub enum SprsError {
    Structure(StructureError),
    Linalg(LinalgError),
}

Convenience wrapper around more precise error types. Not returned by functions in this crate, but can be easily obtained from any error returned in this crate using Into and From.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Structure(StructureError)
Linalg(LinalgError)

Trait Implementations

impl Clone for SprsError[src]

impl Debug for SprsError[src]

impl Display for SprsError[src]

impl Error for SprsError[src]

impl From<LinalgError> for SprsError[src]

impl From<StructureError> for SprsError[src]

impl PartialEq<SprsError> for SprsError[src]

impl StructuralPartialEq for SprsError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.