Enum imap_types::datetime::DateTimeError
source · pub enum DateTimeError {
YearOutOfRange {
got: i32,
},
UnalignedNanoSeconds {
got: u32,
},
UnalignedOffset {
got: i32,
},
}
Variants§
Trait Implementations§
source§impl Clone for DateTimeError
impl Clone for DateTimeError
source§fn clone(&self) -> DateTimeError
fn clone(&self) -> DateTimeError
Returns a copy 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 DateTimeError
impl Debug for DateTimeError
source§impl Display for DateTimeError
impl Display for DateTimeError
source§impl Error for DateTimeError
impl Error for DateTimeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Hash for DateTimeError
impl Hash for DateTimeError
source§impl Ord for DateTimeError
impl Ord for DateTimeError
source§fn cmp(&self, other: &DateTimeError) -> Ordering
fn cmp(&self, other: &DateTimeError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DateTimeError> for DateTimeError
impl PartialEq<DateTimeError> for DateTimeError
source§fn eq(&self, other: &DateTimeError) -> bool
fn eq(&self, other: &DateTimeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DateTimeError> for DateTimeError
impl PartialOrd<DateTimeError> for DateTimeError
source§fn partial_cmp(&self, other: &DateTimeError) -> Option<Ordering>
fn partial_cmp(&self, other: &DateTimeError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DateTimeError
impl StructuralEq for DateTimeError
impl StructuralPartialEq for DateTimeError
Auto Trait Implementations§
impl RefUnwindSafe for DateTimeError
impl Send for DateTimeError
impl Sync for DateTimeError
impl Unpin for DateTimeError
impl UnwindSafe for DateTimeError
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