Enum hifitime::Errors [] [src]

pub enum Errors {
    Carry,
    ParseError(String),
}

Errors handles all oddities which may occur in this library.

Variants

Carry is returned when a provided function does not support time carry. For example, if a call to Datetime::new receives 60 seconds and there are only 59 seconds in the provided date time then a Carry Error is returned as the Result.

ParseError is returned when a provided string could not be parsed and converted to the desired struct (e.g. Datetime).

Trait Implementations

impl Debug for Errors
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Errors
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ParseIntError> for Errors
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Errors

impl Sync for Errors