pub enum TimestampError {
Overflow,
ParseError(ParseError),
OutOfOrder,
}
Variants§
Trait Implementations§
source§impl Clone for TimestampError
impl Clone for TimestampError
source§fn clone(&self) -> TimestampError
fn clone(&self) -> TimestampError
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 TimestampError
impl Debug for TimestampError
source§impl Display for TimestampError
impl Display for TimestampError
source§impl Error for TimestampError
impl Error for TimestampError
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 From<ParseError> for TimestampError
impl From<ParseError> for TimestampError
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for TimestampError
impl PartialEq for TimestampError
source§fn eq(&self, other: &TimestampError) -> bool
fn eq(&self, other: &TimestampError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TimestampError
impl StructuralPartialEq for TimestampError
Auto Trait Implementations§
impl Freeze for TimestampError
impl RefUnwindSafe for TimestampError
impl Send for TimestampError
impl Sync for TimestampError
impl Unpin for TimestampError
impl UnwindSafe for TimestampError
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