Enum icu::experimental::personnames::api::PersonNamesFormatterError
source · pub enum PersonNamesFormatterError {
ParseError(String),
InvalidPersonName,
InvalidLocale,
InvalidCldrData,
Data(DataError),
Pattern(PatternError),
}
Expand description
Error handling for the person name formatter.
Variants§
ParseError(String)
InvalidPersonName
InvalidLocale
InvalidCldrData
Data(DataError)
Pattern(PatternError)
Trait Implementations§
source§impl Clone for PersonNamesFormatterError
impl Clone for PersonNamesFormatterError
source§fn clone(&self) -> PersonNamesFormatterError
fn clone(&self) -> PersonNamesFormatterError
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 PersonNamesFormatterError
impl Debug for PersonNamesFormatterError
source§impl Display for PersonNamesFormatterError
impl Display for PersonNamesFormatterError
source§impl From<DataError> for PersonNamesFormatterError
impl From<DataError> for PersonNamesFormatterError
source§fn from(e: DataError) -> PersonNamesFormatterError
fn from(e: DataError) -> PersonNamesFormatterError
Converts to this type from the input type.
source§impl From<PatternError> for PersonNamesFormatterError
impl From<PatternError> for PersonNamesFormatterError
source§fn from(e: PatternError) -> PersonNamesFormatterError
fn from(e: PatternError) -> PersonNamesFormatterError
Converts to this type from the input type.
impl Eq for PersonNamesFormatterError
impl StructuralPartialEq for PersonNamesFormatterError
Auto Trait Implementations§
impl Freeze for PersonNamesFormatterError
impl RefUnwindSafe for PersonNamesFormatterError
impl Send for PersonNamesFormatterError
impl Sync for PersonNamesFormatterError
impl Unpin for PersonNamesFormatterError
impl UnwindSafe for PersonNamesFormatterError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more