Enum icu_capi::errors::ffi::ICU4XDataError
source · #[repr(C)]pub enum ICU4XDataError {
Unknown = 0,
MarkerNotFound = 1,
IdentifierNotFound = 2,
InvalidRequest = 3,
InconsistentData = 4,
Downcast = 5,
Deserialize = 6,
Custom = 7,
Io = 8,
}
Variants§
Unknown = 0
MarkerNotFound = 1
IdentifierNotFound = 2
InvalidRequest = 3
InconsistentData = 4
Downcast = 5
Deserialize = 6
Custom = 7
Io = 8
Trait Implementations§
source§impl Clone for ICU4XDataError
impl Clone for ICU4XDataError
source§fn clone(&self) -> ICU4XDataError
fn clone(&self) -> ICU4XDataError
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 ICU4XDataError
impl Debug for ICU4XDataError
source§impl From<DataError> for ICU4XDataError
impl From<DataError> for ICU4XDataError
source§impl PartialEq for ICU4XDataError
impl PartialEq for ICU4XDataError
source§fn eq(&self, other: &ICU4XDataError) -> bool
fn eq(&self, other: &ICU4XDataError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ICU4XDataError
impl Eq for ICU4XDataError
impl StructuralPartialEq for ICU4XDataError
Auto Trait Implementations§
impl Freeze for ICU4XDataError
impl RefUnwindSafe for ICU4XDataError
impl Send for ICU4XDataError
impl Sync for ICU4XDataError
impl Unpin for ICU4XDataError
impl UnwindSafe for ICU4XDataError
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> 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