Enum decimal_rs::DecimalFormatError
source · pub enum DecimalFormatError {
Format(Error),
OutOfRange,
}
Expand description
An error which can be returned when format decimal to string.
Variants§
Trait Implementations§
source§impl Clone for DecimalFormatError
impl Clone for DecimalFormatError
source§fn clone(&self) -> DecimalFormatError
fn clone(&self) -> DecimalFormatError
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 DecimalFormatError
impl Debug for DecimalFormatError
source§impl Display for DecimalFormatError
impl Display for DecimalFormatError
source§impl Error for DecimalFormatError
impl Error for DecimalFormatError
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
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 From<Error> for DecimalFormatError
impl From<Error> for DecimalFormatError
source§impl PartialEq<DecimalFormatError> for DecimalFormatError
impl PartialEq<DecimalFormatError> for DecimalFormatError
source§fn eq(&self, other: &DecimalFormatError) -> bool
fn eq(&self, other: &DecimalFormatError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.