Enum riscan_pro::Error [] [src]

pub enum Error {
    Io(Error),
    Matrix(Vec<f64>),
    ParseFloat(ParseFloatError),
    XmlRead(String),
    XmlReader(Error),
}

Our custom error enum.

Variants

Wrapper around std::io::Error.

The provided vector cannot be converted into a matrix.

Wrapper around std::num::ParseFloatError.

An error occured while reading the xml file.

Wrapper aroudn xml::reader::Error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.