enum MantissaError {
InvalidFormat,
Overflow,
Exponent(usize),
}Expand description
Why scanning the digits of a decimal string stopped.
Variants§
InvalidFormat
The input is not a valid decimal string
Overflow
The value does not fit in the native type
Exponent(usize)
An exponent marker (e or E) was found at the given byte offset
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for MantissaError
impl RefUnwindSafe for MantissaError
impl Send for MantissaError
impl Sync for MantissaError
impl Unpin for MantissaError
impl UnsafeUnpin for MantissaError
impl UnwindSafe for MantissaError
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