Enum ndarray::ErrorKind [] [src]

pub enum ErrorKind {
    IncompatibleShape,
    IncompatibleLayout,
    RangeLimited,
    OutOfBounds,
    Unsupported,
    // some variants omitted
}

Error code for an error related to array shape or layout.

This enumeration is not exhaustive. The representation of the enum is not guaranteed.

Variants

IncompatibleShape

incompatible shape

IncompatibleLayout

incompatible memory layout

RangeLimited

the shape does not fit inside type limits

OutOfBounds

out of bounds indexing

Unsupported

aliasing array elements

Trait Implementations

impl Debug for ErrorKind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ErrorKind
[src]

fn clone(&self) -> ErrorKind

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for ErrorKind
[src]

impl PartialEq for ErrorKind
[src]

fn eq(&self, rhs: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.