pub enum TimezoneError {
Missing(MissingTimezone),
Invalid(InvalidTimezone),
}
Variants§
Missing(MissingTimezone)
Invalid(InvalidTimezone)
Trait Implementations§
Source§impl Debug for TimezoneError
impl Debug for TimezoneError
Source§impl Display for TimezoneError
impl Display for TimezoneError
Source§impl Error for TimezoneError
impl Error for TimezoneError
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<InvalidTimezone> for TimezoneError
impl From<InvalidTimezone> for TimezoneError
Source§fn from(source: InvalidTimezone) -> Self
fn from(source: InvalidTimezone) -> Self
Converts to this type from the input type.
Source§impl From<MissingTimezone> for TimezoneError
impl From<MissingTimezone> for TimezoneError
Source§fn from(source: MissingTimezone) -> Self
fn from(source: MissingTimezone) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TimezoneError
impl RefUnwindSafe for TimezoneError
impl Send for TimezoneError
impl Sync for TimezoneError
impl Unpin for TimezoneError
impl UnwindSafe for TimezoneError
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