pub enum DateError {
InvalidDate,
}Expand description
Enumerates potential errors during date operations within the parsidate crate.
Currently, it only includes a variant for invalid date representations.
Variants§
InvalidDate
Indicates that a given set of year, month, and day does not form a valid date in the Persian calendar (e.g., month 13, day 32, or day 30 in Esfand of a non-leap year) or that a conversion resulted in an invalid date.
Trait Implementations§
impl Copy for DateError
impl Eq for DateError
impl StructuralPartialEq for DateError
Auto Trait Implementations§
impl Freeze for DateError
impl RefUnwindSafe for DateError
impl Send for DateError
impl Sync for DateError
impl Unpin for DateError
impl UnwindSafe for DateError
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