[][src]Enum ndarray_stats::errors::MultiInputError

pub enum MultiInputError {
    EmptyInput,
    ShapeMismatch(ShapeMismatch),
}

An error for methods that take multiple non-empty array inputs.

Variants

EmptyInput

One or more of the arrays were empty.

ShapeMismatch(ShapeMismatch)

The arrays did not have the same shape.

Methods

impl MultiInputError[src]

pub fn is_empty_input(&self) -> bool[src]

Returns whether self is the EmptyInput variant.

pub fn is_shape_mismatch(&self) -> bool[src]

Returns whether self is the ShapeMismatch variant.

Trait Implementations

impl Clone for MultiInputError[src]

impl PartialEq<MultiInputError> for MultiInputError[src]

impl From<EmptyInput> for MultiInputError[src]

impl From<ShapeMismatch> for MultiInputError[src]

impl Debug for MultiInputError[src]

impl Display for MultiInputError[src]

impl Error for MultiInputError[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,