enum PrecisionFormatError {
UnsupportedPrecision,
OutOfRange,
}Variants§
UnsupportedPrecision
precision isn’t one of the precisions literals support (0, 3, 6, 9, 12).
OutOfRange
value can’t be represented at precision: it overflows the
representable range (timestamps) or falls outside a single day (times).
Implementations§
Source§impl PrecisionFormatError
impl PrecisionFormatError
fn into_plan_error(self, variant: &'static str, precision: i32) -> PlanError
Trait Implementations§
Source§impl Clone for PrecisionFormatError
impl Clone for PrecisionFormatError
Source§fn clone(&self) -> PrecisionFormatError
fn clone(&self) -> PrecisionFormatError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrecisionFormatError
impl Debug for PrecisionFormatError
Source§impl PartialEq for PrecisionFormatError
impl PartialEq for PrecisionFormatError
Source§fn eq(&self, other: &PrecisionFormatError) -> bool
fn eq(&self, other: &PrecisionFormatError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PrecisionFormatError
impl Eq for PrecisionFormatError
impl StructuralPartialEq for PrecisionFormatError
Auto Trait Implementations§
impl Freeze for PrecisionFormatError
impl RefUnwindSafe for PrecisionFormatError
impl Send for PrecisionFormatError
impl Sync for PrecisionFormatError
impl Unpin for PrecisionFormatError
impl UnsafeUnpin for PrecisionFormatError
impl UnwindSafe for PrecisionFormatError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.