pub enum TimeAgoError {
InvalidDateTimeFormat,
Unknown,
}
Variants§
Trait Implementations§
source§impl Clone for TimeAgoError
impl Clone for TimeAgoError
source§fn clone(&self) -> TimeAgoError
fn clone(&self) -> TimeAgoError
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 TimeAgoError
impl Debug for TimeAgoError
source§impl Display for TimeAgoError
impl Display for TimeAgoError
source§impl Error for TimeAgoError
impl Error for TimeAgoError
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 TimeAgoError
impl Hash for TimeAgoError
source§impl PartialEq for TimeAgoError
impl PartialEq for TimeAgoError
source§fn eq(&self, other: &TimeAgoError) -> bool
fn eq(&self, other: &TimeAgoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimeAgoError
impl Eq for TimeAgoError
impl StructuralPartialEq for TimeAgoError
Auto Trait Implementations§
impl RefUnwindSafe for TimeAgoError
impl Send for TimeAgoError
impl Sync for TimeAgoError
impl Unpin for TimeAgoError
impl UnwindSafe for TimeAgoError
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