pub struct InvalidMonthError(/* private fields */);Expand description
An error indicating that a value is not a valid month number (1–12).
Trait Implementations§
Source§impl Clone for InvalidMonthError
impl Clone for InvalidMonthError
Source§fn clone(&self) -> InvalidMonthError
fn clone(&self) -> InvalidMonthError
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 InvalidMonthError
impl Debug for InvalidMonthError
Source§impl Display for InvalidMonthError
impl Display for InvalidMonthError
Source§impl Error for InvalidMonthError
impl Error for InvalidMonthError
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 From<InvalidMonthError> for InvalidDateError
impl From<InvalidMonthError> for InvalidDateError
Source§fn from(source: InvalidMonthError) -> Self
fn from(source: InvalidMonthError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidMonthError
impl PartialEq for InvalidMonthError
impl Copy for InvalidMonthError
impl Eq for InvalidMonthError
impl StructuralPartialEq for InvalidMonthError
Auto Trait Implementations§
impl Freeze for InvalidMonthError
impl RefUnwindSafe for InvalidMonthError
impl Send for InvalidMonthError
impl Sync for InvalidMonthError
impl Unpin for InvalidMonthError
impl UnsafeUnpin for InvalidMonthError
impl UnwindSafe for InvalidMonthError
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