pub enum ParseDecimalError<I>where
I: Display,{
EmptyString,
MissingDecimalPoint,
Overflow(I, I),
ParseInt(ParseIntError),
PrecisionLoss(usize),
RadixMustBe10,
}Variants§
EmptyString
MissingDecimalPoint
Overflow(I, I)
ParseInt(ParseIntError)
PrecisionLoss(usize)
RadixMustBe10
Trait Implementations§
Source§impl<I> Debug for ParseDecimalError<I>
impl<I> Debug for ParseDecimalError<I>
Source§impl<I> Display for ParseDecimalError<I>
impl<I> Display for ParseDecimalError<I>
impl<I> Eq for ParseDecimalError<I>
Source§impl<I> Error for ParseDecimalError<I>
impl<I> Error for ParseDecimalError<I>
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<I> From<ParseIntError> for ParseDecimalError<I>where
I: Display,
impl<I> From<ParseIntError> for ParseDecimalError<I>where
I: Display,
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl<I> PartialEq for ParseDecimalError<I>
impl<I> PartialEq for ParseDecimalError<I>
impl<I> StructuralPartialEq for ParseDecimalError<I>
Auto Trait Implementations§
impl<I> Freeze for ParseDecimalError<I>where
I: Freeze,
impl<I> RefUnwindSafe for ParseDecimalError<I>where
I: RefUnwindSafe,
impl<I> Send for ParseDecimalError<I>where
I: Send,
impl<I> Sync for ParseDecimalError<I>where
I: Sync,
impl<I> Unpin for ParseDecimalError<I>where
I: Unpin,
impl<I> UnsafeUnpin for ParseDecimalError<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for ParseDecimalError<I>where
I: UnwindSafe,
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