Enum pos::error::Error [] [src]

pub enum Error {
    Byteorder(Error),
    Extrapolation(String),
    InvalidTimeInfo(u8),
    InvalidTimeUnit(u8),
    Io(Error),
    ParseFloat(ParseFloatError),
    ParseInt(ParseIntError),
}

Our custom error enum.

Variants

Wrapper around byteorder::Error.

This isn't interpolation, this is extrapolation.

Cannot convert the u8 into a TimeInfo.

Cannot convert the u8 into a TimeUnit.

Wrapper around std::io::Error.

Wrapper around std::num::ParseFloatError.

Wrapper around std::num::ParseIntError.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.