[][src]Enum crabsformer::LoadErrorKind

pub enum LoadErrorKind {
    IOError,
    CSVError,
    Empty,
    InvalidElement,
}

Enum to store the various types of errors that can cause loading a numeric vector or matrix to fail.

Variants

IOError

I/O Error

Among other causes, this variant will be constructed when failed loading a file due to I/O problem.

CSVError

CSV Error

Among other causes, this variant will be constructed when failed loading a CSV file.

Empty

File being loaded is empty.

Among other causes, this variant will be constructed when loading an empty file.

InvalidElement

Contains an invalid element.

Among other causes, this variant will be constructed when parsing a string that contains non-numeric letter.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.