Enum icu::normalizer::NormalizerError
source · [−]#[non_exhaustive]
pub enum NormalizerError {
Data(DataError),
FutureExtension,
ValidationError,
}
Expand description
Normalizer-specific 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)
Error coming from the data provider
FutureExtension
The data uses a planned but unsupported feature.
ValidationError
Data failed manual validation
Trait Implementations
sourceimpl Debug for NormalizerError
impl Debug for NormalizerError
sourceimpl Display for NormalizerError
impl Display for NormalizerError
sourceimpl Error for NormalizerError
impl Error for NormalizerError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DataError> for NormalizerError
impl From<DataError> for NormalizerError
sourcefn from(e: DataError) -> NormalizerError
fn from(e: DataError) -> NormalizerError
Converts to this type from the input type.
sourceimpl From<PropertiesError> for NormalizerError
impl From<PropertiesError> for NormalizerError
sourcefn from(e: PropertiesError) -> NormalizerError
fn from(e: PropertiesError) -> NormalizerError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for NormalizerError
impl Send for NormalizerError
impl Sync for NormalizerError
impl Unpin for NormalizerError
impl UnwindSafe for NormalizerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Separable for T where
T: Display,
impl<T> Separable for T where
T: Display,
sourcefn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given SeparatorPolicy
. Read more
sourcefn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
sourcefn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
sourcefn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
sourcefn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more