Enum icu_capi::errors::ffi::PatternLoadError
source · #[repr(C)]pub enum PatternLoadError {
Unknown = 0,
UnsupportedLength = 2_051,
DuplicateField = 2_057,
TypeTooSpecific = 2_058,
DataMarkerNotFound = 1,
DataIdentifierNotFound = 2,
DataInvalidRequest = 3,
DataInconsistentData = 4,
DataDowncast = 5,
DataDeserialize = 6,
DataCustom = 7,
DataIo = 8,
}
Variants§
Unknown = 0
UnsupportedLength = 2_051
DuplicateField = 2_057
TypeTooSpecific = 2_058
DataMarkerNotFound = 1
DataIdentifierNotFound = 2
DataInvalidRequest = 3
DataInconsistentData = 4
DataDowncast = 5
DataDeserialize = 6
DataCustom = 7
DataIo = 8
Trait Implementations§
source§impl Clone for PatternLoadError
impl Clone for PatternLoadError
source§fn clone(&self) -> PatternLoadError
fn clone(&self) -> PatternLoadError
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 PatternLoadError
impl Debug for PatternLoadError
source§impl From<DataError> for PatternLoadError
impl From<DataError> for PatternLoadError
source§impl From<PatternLoadError> for PatternLoadError
impl From<PatternLoadError> for PatternLoadError
source§fn from(e: PatternLoadError) -> Self
fn from(e: PatternLoadError) -> Self
Converts to this type from the input type.
source§impl PartialEq for PatternLoadError
impl PartialEq for PatternLoadError
impl Copy for PatternLoadError
impl Eq for PatternLoadError
impl StructuralPartialEq for PatternLoadError
Auto Trait Implementations§
impl Freeze for PatternLoadError
impl RefUnwindSafe for PatternLoadError
impl Send for PatternLoadError
impl Sync for PatternLoadError
impl Unpin for PatternLoadError
impl UnwindSafe for PatternLoadError
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