Enum bigdecimal::ParseBigDecimalError
source · 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)>
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
source§fn eq(&self, other: &ParseBigDecimalError) -> bool
fn eq(&self, other: &ParseBigDecimalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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