pub enum Utc2kError {
Invalid,
Overflow,
Underflow,
}Expand description
§Errors.
Variants§
Invalid
§Invalid date/time format.
Overflow
§Date/time is post-2099.
Underflow
§Date/time is pre-2000.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for Utc2kError
impl AsRef<str> for Utc2kError
Source§impl Borrow<str> for Utc2kError
impl Borrow<str> for Utc2kError
Source§impl Clone for Utc2kError
impl Clone for Utc2kError
Source§fn clone(&self) -> Utc2kError
fn clone(&self) -> Utc2kError
Returns a duplicate of the value. Read more
1.0.0 · 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 Utc2kError
impl Debug for Utc2kError
Source§impl Display for Utc2kError
impl Display for Utc2kError
Source§impl Error for Utc2kError
impl Error for Utc2kError
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 Utc2kError
impl PartialEq for Utc2kError
impl Copy for Utc2kError
impl Eq for Utc2kError
impl StructuralPartialEq for Utc2kError
Auto Trait Implementations§
impl Freeze for Utc2kError
impl RefUnwindSafe for Utc2kError
impl Send for Utc2kError
impl Sync for Utc2kError
impl Unpin for Utc2kError
impl UnwindSafe for Utc2kError
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