Enum agnes::error::AgnesError
[−]
[src]
pub enum AgnesError { Io(Error), Net(NetError), Csv(Error), CsvSniffer(SnifferError), CsvDialect(String), Parse(ParseError), Decode(String), FieldNotFound(FieldIdent), DimensionMismatch(String), FieldCollision(Vec<FieldIdent>), TypeMismatch(String), IndexError { index: usize, len: usize, }, IncompatibleTypes(FieldType, FieldType), }
General DataFrame error enum.
Variants
Io(Error)
File IO error.
Net(NetError)
Network-related error
Csv(Error)
CSV reading / parsing error
CsvSniffer(SnifferError)
CSV sniffer error
CsvDialect(String)
CSV dialect error
Parse(ParseError)
Parsing error (failure parsing as specified type).
Decode(String)
Charset Decoding error.
FieldNotFound(FieldIdent)
Field missing from DataSource.
DimensionMismatch(String)
Dimension mismatch
FieldCollision(Vec<FieldIdent>)
Field collision(s) when merging
TypeMismatch(String)
Type mismatch
IndexError
Indexing error
Fields of IndexError
index: usize | out-of-bounds index |
len: usize | length of underlying data structure |
IncompatibleTypes(FieldType, FieldType)
Incompatible types error
Trait Implementations
impl Debug for AgnesError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for AgnesError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for AgnesError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<ParseIntError> for AgnesError
[src]
fn from(err: ParseIntError) -> AgnesError
[src]
Performs the conversion.
impl From<ParseFloatError> for AgnesError
[src]
fn from(err: ParseFloatError) -> AgnesError
[src]
Performs the conversion.
impl From<ParseBoolError> for AgnesError
[src]
fn from(err: ParseBoolError) -> AgnesError
[src]
Performs the conversion.
impl From<ParseError> for AgnesError
[src]
fn from(err: ParseError) -> AgnesError
[src]
Performs the conversion.
impl From<Error> for AgnesError
[src]
fn from(err: Error) -> AgnesError
[src]
Performs the conversion.
impl From<NetError> for AgnesError
[src]
fn from(err: NetError) -> AgnesError
[src]
Performs the conversion.
impl From<Error> for AgnesError
[src]
fn from(err: Error) -> AgnesError
[src]
Performs the conversion.
impl From<Error> for AgnesError
[src]
fn from(err: Error) -> AgnesError
[src]
Performs the conversion.
impl From<Error> for AgnesError
[src]
fn from(err: Error) -> AgnesError
[src]
Performs the conversion.
impl From<SnifferError> for AgnesError
[src]
fn from(err: SnifferError) -> AgnesError
[src]
Performs the conversion.