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 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<ParseBigDecimalError> for ParseBigDecimalError
impl PartialEq<ParseBigDecimalError> 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 ==
.