pub struct UnknownTimeZone {
pub id: String,
pub message: String,
}Expand description
The one runtime failure: an IANA time-zone identifier that does not resolve to a usable zone — unknown, invalid, or an unreadable TZif entry. Parse errors aside, nothing else in the crate fails.
Fields§
§id: StringThe identifier that failed to resolve.
message: StringWhat went wrong.
Implementations§
Trait Implementations§
Source§impl Clone for UnknownTimeZone
impl Clone for UnknownTimeZone
Source§fn clone(&self) -> UnknownTimeZone
fn clone(&self) -> UnknownTimeZone
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnknownTimeZone
impl Debug for UnknownTimeZone
Source§impl Display for UnknownTimeZone
impl Display for UnknownTimeZone
impl Eq for UnknownTimeZone
Source§impl Error for UnknownTimeZone
impl Error for UnknownTimeZone
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 PartialEq for UnknownTimeZone
impl PartialEq for UnknownTimeZone
impl StructuralPartialEq for UnknownTimeZone
Auto Trait Implementations§
impl Freeze for UnknownTimeZone
impl RefUnwindSafe for UnknownTimeZone
impl Send for UnknownTimeZone
impl Sync for UnknownTimeZone
impl Unpin for UnknownTimeZone
impl UnsafeUnpin for UnknownTimeZone
impl UnwindSafe for UnknownTimeZone
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