pub(crate) enum DecimalParseError {
InvalidFormat,
Overflow,
}Expand description
The reason a decimal string could not be parsed.
Variants§
InvalidFormat
The input is not a valid decimal string
Overflow
The value does not fit in the precision or the native type of the decimal
Trait Implementations§
Source§impl Clone for DecimalParseError
impl Clone for DecimalParseError
Source§fn clone(&self) -> DecimalParseError
fn clone(&self) -> DecimalParseError
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 moreimpl Copy for DecimalParseError
Source§impl Debug for DecimalParseError
impl Debug for DecimalParseError
impl Eq for DecimalParseError
Source§impl From<DecimalParseError> for MantissaError
impl From<DecimalParseError> for MantissaError
Source§fn from(e: DecimalParseError) -> Self
fn from(e: DecimalParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecimalParseError
impl PartialEq for DecimalParseError
impl StructuralPartialEq for DecimalParseError
Auto Trait Implementations§
impl Freeze for DecimalParseError
impl RefUnwindSafe for DecimalParseError
impl Send for DecimalParseError
impl Sync for DecimalParseError
impl Unpin for DecimalParseError
impl UnsafeUnpin for DecimalParseError
impl UnwindSafe for DecimalParseError
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more