Enum embedded_time::TimeError [−][src]
#[non_exhaustive]
pub enum TimeError {
Unspecified,
ConversionFailure,
Overflow,
DivByZero,
NegDuration,
Clock(Error),
}
Expand description
Crate errors
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exact cause of failure is unknown
Attempted type conversion failed
Result is outside of those valid for this type
Attempted to divide by zero
Resulting Duration
is negative (not allowed)
Clock(Error)
Clock
-implementation-specific error
Tuple Fields of Clock
0: Error
Trait Implementations
Performs the conversion.