Enum embedded_time::TimeError [−][src]
#[non_exhaustive] pub enum TimeError { Unspecified, ConversionFailure, Overflow, DivByZero, NegDuration, Clock(Error), }
Crate errors
Variants (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
Trait Implementations
impl From<ConversionError> for TimeError
[src]
impl From<ConversionError> for TimeError
[src]fn from(error: ConversionError) -> Self
[src]
fn from(error: ConversionError) -> Self
[src]Performs the conversion.