pub enum ConstructTimestampError {
ExceedSeconds,
ExceedNanos,
}
Expand description
seconds
or nanos
cannot be represented
Variants§
ExceedSeconds
Requested seconds that exceeded the timestamp bit range.
ExceedNanos
Requested nanoseconds that exceeded 999999999.
Trait Implementations§
Source§impl Clone for ConstructTimestampError
impl Clone for ConstructTimestampError
Source§fn clone(&self) -> ConstructTimestampError
fn clone(&self) -> ConstructTimestampError
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 ConstructTimestampError
impl Debug for ConstructTimestampError
Source§impl Display for ConstructTimestampError
impl Display for ConstructTimestampError
Source§impl Error for ConstructTimestampError
impl Error for ConstructTimestampError
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 Ord for ConstructTimestampError
impl Ord for ConstructTimestampError
Source§fn cmp(&self, other: &ConstructTimestampError) -> Ordering
fn cmp(&self, other: &ConstructTimestampError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConstructTimestampError
impl PartialEq for ConstructTimestampError
Source§impl PartialOrd for ConstructTimestampError
impl PartialOrd for ConstructTimestampError
impl Copy for ConstructTimestampError
impl Eq for ConstructTimestampError
impl StructuralPartialEq for ConstructTimestampError
Auto Trait Implementations§
impl Freeze for ConstructTimestampError
impl RefUnwindSafe for ConstructTimestampError
impl Send for ConstructTimestampError
impl Sync for ConstructTimestampError
impl Unpin for ConstructTimestampError
impl UnwindSafe for ConstructTimestampError
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