Enum riscan_pro::Error
[−]
[src]
pub enum Error { Io(Error), Matrix(Vec<f64>), ParseFloat(ParseFloatError), XmlRead(String), XmlReader(Error), }
Our custom error enum.
Variants
Io(Error)
Wrapper around std::io::Error
.
Matrix(Vec<f64>)
The provided vector cannot be converted into a matrix.
ParseFloat(ParseFloatError)
Wrapper around std::num::ParseFloatError
.
XmlRead(String)
An error occured while reading the xml file.
XmlReader(Error)
Wrapper aroudn xml::reader::Error
.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<ParseFloatError> for Error
[src]
fn from(err: ParseFloatError) -> Error
Performs the conversion.