Enum hifitime::Errors [−][src]
Expand description
Errors handles all oddities which may occur in this library.
Variants
Carry
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(String)
Tuple Fields
0: String
ParseError is returned when a provided string could not be parsed and converted to the desired struct (e.g. Datetime).
ConversionOverlapError(f64, f64)
Raised when trying to initialize an Epoch or Duration from its hi and lo values, but these overlap
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Errors
impl UnwindSafe for Errors
Blanket Implementations
Mutably borrows from an owned value. Read more