Enum icu_provider_cldr::CldrError [−][src]
#[non_exhaustive] pub enum CldrError { Io(Error, Option<PathBuf>), Json(Error, Option<PathBuf>), Custom(String, Option<LanguageIdentifier>), MissingSource(MissingSourceError), Poison, }
Variants (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.
Custom(String, Option<LanguageIdentifier>)
Trait Implementations
impl<L: AsRef<LanguageIdentifier>> From<(&'static str, L)> for Error
[src]
impl<L: AsRef<LanguageIdentifier>> From<(&'static str, L)> for Error
[src]To help with debugging, string errors should be paired with a locale.
If a locale is unavailable, create the error directly: Error::Custom
(err,
None
)
impl<P: AsRef<Path>> From<(Error, P)> for Error
[src]
impl<P: AsRef<Path>> From<(Error, P)> for Error
[src]Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error