[][src]Enum csaps::CsapsError

pub enum CsapsError {
    InvalidInputData(String),
    ReshapeFrom2d {
        input_shape: Vec<usize>,
        output_shape: Vec<usize>,
        axis: usize,
        source: ShapeError,
    },
    ReshapeTo2d {
        input_shape: Vec<usize>,
        output_shape: Vec<usize>,
        axis: usize,
        source: ShapeError,
    },
}

Enum provides error types

Variants

InvalidInputData(String)

Any errors when the given input data is invalid

ReshapeFrom2d

Error occurs when reshape from 2-d representation for n-d data has failed

Fields of ReshapeFrom2d

input_shape: Vec<usize>output_shape: Vec<usize>axis: usizesource: ShapeError
ReshapeTo2d

Error occurs when reshape to 2-d representation for n-d data has failed

Fields of ReshapeTo2d

input_shape: Vec<usize>output_shape: Vec<usize>axis: usizesource: ShapeError

Trait Implementations

impl Debug for CsapsError[src]

impl Display for CsapsError[src]

impl Error for CsapsError[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<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.