Enum icu_collator::CollatorError
source · #[non_exhaustive]pub enum CollatorError {
NotFound,
MalformedData,
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.
NotFound
The requested collation does not exist
MalformedData
Requested data was found but was malformed
Data(DataError)
An error originating inside of the data provider.
Trait Implementations§
source§impl Debug for CollatorError
impl Debug for CollatorError
source§impl Display for CollatorError
impl Display for CollatorError
source§impl From<DataError> for CollatorError
impl From<DataError> for CollatorError
source§impl From<PropertiesError> for CollatorError
impl From<PropertiesError> for CollatorError
source§fn from(e: PropertiesError) -> Self
fn from(e: PropertiesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollatorError
impl RefUnwindSafe for CollatorError
impl Send for CollatorError
impl Sync for CollatorError
impl Unpin for CollatorError
impl UnwindSafe for CollatorError
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