Struct icu_provider::any::AnyMarker
source · [−]pub struct AnyMarker;
Expand description
The DataMarker
marker type for AnyPayload
.
Trait Implementations
sourceimpl DataConverter<AnyMarker, SerializeMarker> for HelloWorldProvider
impl DataConverter<AnyMarker, SerializeMarker> for HelloWorldProvider
fn convert(
&self,
key: ResourceKey,
from: DataPayload<AnyMarker>
) -> Result<DataPayload<SerializeMarker>, ReturnedPayloadError<AnyMarker>>
sourceimpl DataMarker for AnyMarker
impl DataMarker for AnyMarker
type Yokeable = AnyPayload
type Yokeable = AnyPayload
sourceimpl DynProvider<AnyMarker> for HelloWorldProvider
impl DynProvider<AnyMarker> for HelloWorldProvider
sourcefn load_payload(
&self,
key: ResourceKey,
req: &DataRequest
) -> Result<DataResponse<AnyMarker>, DataError>
fn load_payload(
&self,
key: ResourceKey,
req: &DataRequest
) -> Result<DataResponse<AnyMarker>, DataError>
Query the provider for data, returning the result. Read more
sourceimpl<M> UpcastDataPayload<M> for AnyMarker where
M: DataMarker + 'static,
impl<M> UpcastDataPayload<M> for AnyMarker where
M: DataMarker + 'static,
sourcefn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
fn upcast(other: DataPayload<M>) -> DataPayload<AnyMarker>
Upcast a DataPayload<T>
to a DataPayload<S>
where T
implements trait S
. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnyMarker
impl Send for AnyMarker
impl Sync for AnyMarker
impl Unpin for AnyMarker
impl UnwindSafe for AnyMarker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more