pub enum TimeDesignationError {
BadUnit,
BadLength,
Negative,
ParseFloat(ParseFloatError),
}
Variants§
Trait Implementations§
Source§impl Debug for TimeDesignationError
impl Debug for TimeDesignationError
Source§impl Display for TimeDesignationError
impl Display for TimeDesignationError
Source§impl Error for TimeDesignationError
impl Error for TimeDesignationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TimeDesignationError> for Error
impl From<TimeDesignationError> for Error
Source§fn from(e: TimeDesignationError) -> Self
fn from(e: TimeDesignationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimeDesignationError
impl PartialEq for TimeDesignationError
impl StructuralPartialEq for TimeDesignationError
Auto Trait Implementations§
impl Freeze for TimeDesignationError
impl RefUnwindSafe for TimeDesignationError
impl Send for TimeDesignationError
impl Sync for TimeDesignationError
impl Unpin for TimeDesignationError
impl UnwindSafe for TimeDesignationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more