#[non_exhaustive]pub enum IcuErrorKind {
SyntaxError,
}Expand description
High-level classification of ICU parse failures.
This enum is non-exhaustive so future parser error categories can be added without making existing downstream matches semver-breaking.
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.
SyntaxError
The input violates the supported ICU syntax.
Trait Implementations§
Source§impl Clone for IcuErrorKind
impl Clone for IcuErrorKind
Source§fn clone(&self) -> IcuErrorKind
fn clone(&self) -> IcuErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IcuErrorKind
Source§impl Debug for IcuErrorKind
impl Debug for IcuErrorKind
impl Eq for IcuErrorKind
Source§impl PartialEq for IcuErrorKind
impl PartialEq for IcuErrorKind
impl StructuralPartialEq for IcuErrorKind
Auto Trait Implementations§
impl Freeze for IcuErrorKind
impl RefUnwindSafe for IcuErrorKind
impl Send for IcuErrorKind
impl Sync for IcuErrorKind
impl Unpin for IcuErrorKind
impl UnsafeUnpin for IcuErrorKind
impl UnwindSafe for IcuErrorKind
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