Struct icu_provider_cldr::transform::CldrJsonDataProvider
source · [−]pub struct CldrJsonDataProvider<'a> {
pub cldr_paths: &'a dyn CldrPaths,
/* private fields */
}
Fields
cldr_paths: &'a dyn CldrPaths
Implementations
Trait Implementations
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<SerializeMarker>, DataError>
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<SerializeMarker>, DataError>
Query the provider for data, returning the result. Read more
fn supported_options_for_key(
&self,
resc_key: &ResourceKey
) -> Result<Box<dyn Iterator<Item = ResourceOptions>>, DataError>
fn supported_options_for_key(
&self,
resc_key: &ResourceKey
) -> Result<Box<dyn Iterator<Item = ResourceOptions>>, DataError>
Given a ResourceKey
, returns a boxed iterator over ResourceOptions
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CldrJsonDataProvider<'a>
impl<'a> !Send for CldrJsonDataProvider<'a>
impl<'a> !Sync for CldrJsonDataProvider<'a>
impl<'a> Unpin for CldrJsonDataProvider<'a>
impl<'a> !UnwindSafe for CldrJsonDataProvider<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more