Struct dec::ParseDecimalError
source · pub struct ParseDecimalError;
Expand description
An error indicating that a string is not a valid decimal number.
Trait Implementations§
source§impl Debug for ParseDecimalError
impl Debug for ParseDecimalError
source§impl Display for ParseDecimalError
impl Display for ParseDecimalError
source§impl Error for ParseDecimalError
impl Error for ParseDecimalError
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
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 PartialEq for ParseDecimalError
impl PartialEq for ParseDecimalError
source§fn eq(&self, other: &ParseDecimalError) -> bool
fn eq(&self, other: &ParseDecimalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseDecimalError
impl StructuralEq for ParseDecimalError
impl StructuralPartialEq for ParseDecimalError
Auto Trait Implementations§
impl RefUnwindSafe for ParseDecimalError
impl Send for ParseDecimalError
impl Sync for ParseDecimalError
impl Unpin for ParseDecimalError
impl UnwindSafe for ParseDecimalError
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