Enum icu_decimal::error::DecimalError
source · #[non_exhaustive]pub enum DecimalError {
Data(DataError),
}
Expand description
A list of error outcomes for various operations in this module.
Re-exported as Error
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data(DataError)
An error originating inside of the data provider.
Trait Implementations§
source§impl Clone for DecimalError
impl Clone for DecimalError
source§fn clone(&self) -> DecimalError
fn clone(&self) -> DecimalError
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 DecimalError
impl Debug for DecimalError
source§impl Display for DecimalError
impl Display for DecimalError
source§impl From<DataError> for DecimalError
impl From<DataError> for DecimalError
source§impl PartialEq for DecimalError
impl PartialEq for DecimalError
source§fn eq(&self, other: &DecimalError) -> bool
fn eq(&self, other: &DecimalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecimalError
impl StructuralPartialEq for DecimalError
Auto Trait Implementations§
impl Freeze for DecimalError
impl RefUnwindSafe for DecimalError
impl Send for DecimalError
impl Sync for DecimalError
impl Unpin for DecimalError
impl UnwindSafe for DecimalError
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