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
Byteorder(Error)
Wrapper around byteorder::Error
.
Extrapolation(String)
This isn't interpolation, this is extrapolation.
InvalidTimeInfo(u8)
Cannot convert the u8 into a TimeInfo
.
InvalidTimeUnit(u8)
Cannot convert the u8 into a TimeUnit
.
Io(Error)
Wrapper around std::io::Error
.
ParseFloat(ParseFloatError)
Wrapper around std::num::ParseFloatError
.
ParseInt(ParseIntError)
Wrapper around std::num::ParseIntError
.
Trait Implementations
impl Debug for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<ParseFloatError> for Error
[src]
fn from(err: ParseFloatError) -> Error
Performs the conversion.
impl From<ParseIntError> for Error
[src]
fn from(err: ParseIntError) -> Error
Performs the conversion.