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)>
Returns 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 for DecimalFormatError
impl PartialEq for DecimalFormatError
impl Eq for DecimalFormatError
impl StructuralPartialEq for DecimalFormatError
Auto Trait Implementations§
impl Freeze for DecimalFormatError
impl RefUnwindSafe for DecimalFormatError
impl Send for DecimalFormatError
impl Sync for DecimalFormatError
impl Unpin for DecimalFormatError
impl UnwindSafe for DecimalFormatError
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