Enum lcid::LcidLookupError [−][src]
pub enum LcidLookupError { ReservedBits(u32, u32), SortIdBits(u32, u32), Reserved(u32, &'static str), ReservedUnknown(u32), NeitherDefinedNorReserved(u32), Undefined(u32), }
Expand description
Errors when looking up a LanguageId
from a numeric (u32
) LCID via
TryFrom
or TryInto
.
Variants
The LCID has set reserved bits (original value, reserved bits).
The LCID has sort ID bits set (original value, sort ID bits).
The LCID refers to a named reserved language.
ReservedUnknown(u32)
The LCID refers to a unknown reserved language.
NeitherDefinedNorReserved(u32)
The LCID is neither defined nor reserved.
Undefined(u32)
The LCID is undefined.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LcidLookupError
impl Send for LcidLookupError
impl Sync for LcidLookupError
impl Unpin for LcidLookupError
impl UnwindSafe for LcidLookupError