Module icu_provider::prelude
source · Expand description
Core selection of APIs and structures for the ICU4X data provider.
Re-exports§
pub use crate::any::AnyMarker;
pub use crate::any::AnyPayload;
pub use crate::any::AnyProvider;
pub use crate::any::AnyResponse;
pub use crate::any::AsDowncastingAnyProvider;
pub use crate::any::AsDynamicDataProviderAnyMarkerWrap;
pub use crate::buf::AsDeserializingBufferProvider;
pub use crate::buf::BufferMarker;
pub use crate::buf::BufferProvider;
pub use crate::BoundDataProvider;
pub use crate::DataError;
pub use crate::DataErrorKind;
pub use crate::DataLocale;
pub use crate::DataMarker;
pub use crate::DataMarkerAttributes;
pub use crate::DataMarkerInfo;
pub use crate::DataPayload;
pub use crate::DataProvider;
pub use crate::DataRequest;
pub use crate::DataRequestMetadata;
pub use crate::DataResponse;
pub use crate::DataResponseMetadata;
pub use crate::DryDataProvider;
pub use crate::DynamicDataMarker;
pub use crate::DynamicDataProvider;
pub use crate::DynamicDryDataProvider;
pub use crate::IterableDataProvider;
pub use crate::IterableDynamicDataProvider;
pub use crate::ResultDataError;
pub use icu_locale_core;
pub use yoke;
pub use zerofrom;
Structs§
- Invalid character
- The borrowed version of a
DataIdentifierCow
. - A data identifier identifies a particular version of data, such as “English”.
- A locale type optimized for use in fallbacking and the ICU4X data pipeline.
- An additional key to identify data beyond a
DataLocale
. - The request type passed into all data provider implementations.
- Metadata for data requests. This is currently empty, but it may be extended with options for tuning locale fallback, buffer layout, and so forth.