#[non_exhaustive]pub enum CompiledCatalogResolutionKind {
Requested,
Fallback,
SourceFallback,
Unresolved,
}Available on crate feature
catalog only.Expand description
How one compiled runtime message resolved for a requested-locale artifact.
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.
Requested
The requested locale provided the final runtime message.
Fallback
A configured non-source fallback locale provided the final runtime message.
SourceFallback
The source locale provided the final runtime message through source fallback.
Unresolved
No locale provided a final runtime message.
Trait Implementations§
Source§impl Clone for CompiledCatalogResolutionKind
impl Clone for CompiledCatalogResolutionKind
Source§fn clone(&self) -> CompiledCatalogResolutionKind
fn clone(&self) -> CompiledCatalogResolutionKind
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 CompiledCatalogResolutionKind
Source§impl<'de> Deserialize<'de> for CompiledCatalogResolutionKind
impl<'de> Deserialize<'de> for CompiledCatalogResolutionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompiledCatalogResolutionKind
Source§impl PartialEq for CompiledCatalogResolutionKind
impl PartialEq for CompiledCatalogResolutionKind
Source§fn eq(&self, other: &CompiledCatalogResolutionKind) -> bool
fn eq(&self, other: &CompiledCatalogResolutionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompiledCatalogResolutionKind
Auto Trait Implementations§
impl Freeze for CompiledCatalogResolutionKind
impl RefUnwindSafe for CompiledCatalogResolutionKind
impl Send for CompiledCatalogResolutionKind
impl Sync for CompiledCatalogResolutionKind
impl Unpin for CompiledCatalogResolutionKind
impl UnsafeUnpin for CompiledCatalogResolutionKind
impl UnwindSafe for CompiledCatalogResolutionKind
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