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