Trait icu_provider_cldr::CldrPaths[][src]

pub trait CldrPaths: Debug {
    fn cldr_core(&self) -> Result<PathBuf, Error>;
fn cldr_dates(&self) -> Result<PathBuf, Error>;
fn cldr_numbers(&self) -> Result<PathBuf, Error>; }

Trait returning filesystem paths to CLDR JSON resource directories. The fields should be Ok if present. They default to Err when not present.

Required methods

Loading content...

Trait Implementations

impl TryFrom<&'_ (dyn CldrPaths + '_)> for DatesProvider<'_>[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ (dyn CldrPaths + '_)> for LikelySubtagsProvider<'_>[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ (dyn CldrPaths + '_)> for NumbersProvider[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<&'_ (dyn CldrPaths + '_)> for PluralsProvider<'_>[src]

type Error = Error

The type returned in the event of a conversion error.

Implementors

Loading content...