Struct icu_provider_cldr::transform::JapaneseErasProvider
source · [−]pub struct JapaneseErasProvider { /* private fields */ }
Expand description
Common code for a data provider reading from CLDR JSON dates files.
Trait Implementations
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<JapaneseErasV1Marker>, DataError>
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<JapaneseErasV1Marker>, DataError>
Query the provider for data, returning the result. Read more
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
Returns the “default value” for a type. 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
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JapaneseErasProvider
impl Send for JapaneseErasProvider
impl Sync for JapaneseErasProvider
impl Unpin for JapaneseErasProvider
impl UnwindSafe for JapaneseErasProvider
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