Struct icu_provider::erased::ErasedDataStructMarker [−][src]
pub struct ErasedDataStructMarker {}
Expand description
Marker type for ErasedDataStruct
.
Trait Implementations
Adds entries to a HelloWorldProvider
from ErasedDataStruct
fn put_payload(
&mut self,
req: DataRequest,
payload: DataPayload<'static, ErasedDataStructMarker>
) -> Result<(), DataError>
fn put_payload(
&mut self,
req: DataRequest,
payload: DataPayload<'static, ErasedDataStructMarker>
) -> Result<(), DataError>
Save a payload
corresponding to the given data request (resource path).
Function called after a key has been fully dumped into the exporter.
type Yokeable = &'static dyn ErasedDataStruct
type Yokeable = &'static dyn ErasedDataStruct
type Cart = dyn ErasedDataStruct
type Cart = dyn ErasedDataStruct
A type that is capable of owning all data necessary for the Yokeable type. This can often
be the 'data
version of the data struct. Read more
impl<'data> DataProvider<'data, ErasedDataStructMarker> for HelloWorldProvider<'static> where
'data: 'static,
impl<'data> DataProvider<'data, ErasedDataStructMarker> for HelloWorldProvider<'static> where
'data: 'static,
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<'data, ErasedDataStructMarker>, DataError>
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<'data, ErasedDataStructMarker>, DataError>
Query the provider for data, returning the result. Read more
impl<'data, M> UpcastDataPayload<'static, M> for ErasedDataStructMarker where
M: DataMarker<'static>,
M::Cart: Sized,
impl<'data, M> UpcastDataPayload<'static, M> for ErasedDataStructMarker where
M: DataMarker<'static>,
M::Cart: Sized,
Upcast for ErasedDataStruct creates an Rc<dyn ErasedDataStruct>
from the current inner
Yoke
(i.e., Rc::from(yoke)
).
Auto Trait Implementations
impl RefUnwindSafe for ErasedDataStructMarker
impl Send for ErasedDataStructMarker
impl Sync for ErasedDataStructMarker
impl Unpin for ErasedDataStructMarker
impl UnwindSafe for ErasedDataStructMarker
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.