Enum imap_types::datetime::error::NaiveDateError
source · pub enum NaiveDateError {
YearOutOfRange {
got: i32,
},
}
Variants§
Trait Implementations§
source§impl Clone for NaiveDateError
impl Clone for NaiveDateError
source§fn clone(&self) -> NaiveDateError
fn clone(&self) -> NaiveDateError
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 NaiveDateError
impl Debug for NaiveDateError
source§impl Display for NaiveDateError
impl Display for NaiveDateError
source§impl Error for NaiveDateError
impl Error for NaiveDateError
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 NaiveDateError
impl Hash for NaiveDateError
source§impl Ord for NaiveDateError
impl Ord for NaiveDateError
source§fn cmp(&self, other: &NaiveDateError) -> Ordering
fn cmp(&self, other: &NaiveDateError) -> 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<NaiveDateError> for NaiveDateError
impl PartialEq<NaiveDateError> for NaiveDateError
source§fn eq(&self, other: &NaiveDateError) -> bool
fn eq(&self, other: &NaiveDateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NaiveDateError> for NaiveDateError
impl PartialOrd<NaiveDateError> for NaiveDateError
source§fn partial_cmp(&self, other: &NaiveDateError) -> Option<Ordering>
fn partial_cmp(&self, other: &NaiveDateError) -> 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 NaiveDateError
impl StructuralEq for NaiveDateError
impl StructuralPartialEq for NaiveDateError
Auto Trait Implementations§
impl RefUnwindSafe for NaiveDateError
impl Send for NaiveDateError
impl Sync for NaiveDateError
impl Unpin for NaiveDateError
impl UnwindSafe for NaiveDateError
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