pub enum ParseBigDecimalError {
ParseDecimal(ParseFloatError),
ParseInt(ParseIntError),
ParseBigInt(ParseBigIntError),
Empty,
Other(String),
}
Variants§
ParseDecimal(ParseFloatError)
ParseInt(ParseIntError)
ParseBigInt(ParseBigIntError)
Empty
Other(String)
Trait Implementations§
Source§impl Clone for ParseBigDecimalError
impl Clone for ParseBigDecimalError
Source§fn clone(&self) -> ParseBigDecimalError
fn clone(&self) -> ParseBigDecimalError
Returns a copy 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 ParseBigDecimalError
impl Debug for ParseBigDecimalError
Source§impl Display for ParseBigDecimalError
impl Display for ParseBigDecimalError
Source§impl Error for ParseBigDecimalError
impl Error for ParseBigDecimalError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<ParseBigIntError> for ParseBigDecimalError
impl From<ParseBigIntError> for ParseBigDecimalError
Source§fn from(err: ParseBigIntError) -> ParseBigDecimalError
fn from(err: ParseBigIntError) -> ParseBigDecimalError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ParseBigDecimalError
impl From<ParseFloatError> for ParseBigDecimalError
Source§fn from(err: ParseFloatError) -> ParseBigDecimalError
fn from(err: ParseFloatError) -> ParseBigDecimalError
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseBigDecimalError
impl From<ParseIntError> for ParseBigDecimalError
Source§fn from(err: ParseIntError) -> ParseBigDecimalError
fn from(err: ParseIntError) -> ParseBigDecimalError
Converts to this type from the input type.
Source§impl PartialEq for ParseBigDecimalError
impl PartialEq for ParseBigDecimalError
impl StructuralPartialEq for ParseBigDecimalError
Auto Trait Implementations§
impl Freeze for ParseBigDecimalError
impl RefUnwindSafe for ParseBigDecimalError
impl Send for ParseBigDecimalError
impl Sync for ParseBigDecimalError
impl Unpin for ParseBigDecimalError
impl UnwindSafe for ParseBigDecimalError
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