pub struct InvalidDateRange;Expand description
Error returned when an inclusive date range starts after it ends.
Trait Implementations§
Source§impl Clone for InvalidDateRange
impl Clone for InvalidDateRange
impl Copy for InvalidDateRange
Source§impl Debug for InvalidDateRange
impl Debug for InvalidDateRange
Source§impl Display for InvalidDateRange
impl Display for InvalidDateRange
impl Eq for InvalidDateRange
Source§impl Error for InvalidDateRange
impl Error for InvalidDateRange
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<InvalidDateRange> for Error
impl From<InvalidDateRange> for Error
Source§fn from(_: InvalidDateRange) -> Self
fn from(_: InvalidDateRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidDateRange
impl PartialEq for InvalidDateRange
impl StructuralPartialEq for InvalidDateRange
Auto Trait Implementations§
impl Freeze for InvalidDateRange
impl RefUnwindSafe for InvalidDateRange
impl Send for InvalidDateRange
impl Sync for InvalidDateRange
impl Unpin for InvalidDateRange
impl UnsafeUnpin for InvalidDateRange
impl UnwindSafe for InvalidDateRange
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