Enum icu_capi::provider::DataProviderInner

source ·
pub enum DataProviderInner {
    Destroyed,
    Empty,
    Compiled,
    Buffer(Box<dyn BufferProvider + 'static>),
}

Variants§

§

Destroyed

§

Empty

§

Compiled

§

Buffer(Box<dyn BufferProvider + 'static>)

Trait Implementations§

source§

impl<M> DataProvider<M> for DataProviderInner
where M: DataMarker, for<'de> YokeTraitHack<<M::DataStruct as Yokeable<'de>>::Output>: Deserialize<'de>,

source§

fn load(&self, req: DataRequest<'_>) -> Result<DataResponse<M>, DataError>

Query the provider for data, returning the result. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AllAnyCalendarExternalDataMarkers for T

source§

impl<T, FSet> AllAnyCalendarFormattingDataMarkers<FSet> for T
where FSet: DateTimeMarkers, <FSet as DateTimeMarkers>::D: DateDataMarkers, <FSet as DateTimeMarkers>::T: TimeMarkers, <FSet as DateTimeMarkers>::Z: ZoneMarkers, T: DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Buddhist> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Chinese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Coptic> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Dangi> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Ethiopian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::EthiopianAmeteAlem> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Gregorian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Hebrew> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Indian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::IslamicCivil> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::IslamicObservational> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::IslamicTabular> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::IslamicUmmAlQura> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Japanese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::JapaneseExtended> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Persian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Year as CalMarkers<YearNamesV1Marker>>::Roc> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Buddhist> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Chinese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Coptic> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Dangi> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Ethiopian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::EthiopianAmeteAlem> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Gregorian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Hebrew> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Indian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::IslamicCivil> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::IslamicObservational> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::IslamicTabular> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::IslamicUmmAlQura> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Japanese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::JapaneseExtended> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Persian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Month as CalMarkers<MonthNamesV1Marker>>::Roc> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Buddhist> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Chinese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Coptic> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Dangi> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Ethiopian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::EthiopianAmeteAlem> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Gregorian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Hebrew> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Indian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::IslamicCivil> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::IslamicObservational> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::IslamicTabular> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::IslamicUmmAlQura> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Japanese> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::JapaneseExtended> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Persian> + DataProvider<<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::Skel as CalMarkers<ErasedMarker<PackedPatternsV1<'static>>>>::Roc> + DataProvider<<<FSet as DateTimeMarkers>::D as DateDataMarkers>::WeekdayNamesV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::T as TimeMarkers>::DayPeriodNamesV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::T as TimeMarkers>::TimeSkeletonPatternsV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::EssentialsV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::LocationsV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::GenericLongV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::GenericShortV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::SpecificLongV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::SpecificShortV1Marker> + DataProvider<<<FSet as DateTimeMarkers>::Z as ZoneMarkers>::MetazonePeriodV1Marker> + DataProvider<<FSet as DateTimeMarkers>::GluePatternV1Marker> + ?Sized,

source§

impl<T> AllFixedCalendarExternalDataMarkers for T

source§

impl<T, C, FSet> AllFixedCalendarFormattingDataMarkers<C, FSet> for T

source§

impl<T> ErasedDestructor for T
where T: 'static,