#[non_exhaustive]pub struct HelloWorldV1;Expand description
Marker type for HelloWorld.
Trait Implementations§
Source§impl DataMarker for HelloWorldV1
impl DataMarker for HelloWorldV1
Source§const INFO: DataMarkerInfo
const INFO: DataMarkerInfo
The single
DataMarkerInfo associated with this marker.Source§impl DataProvider<HelloWorldV1> for HelloWorldProvider
impl DataProvider<HelloWorldV1> for HelloWorldProvider
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<HelloWorldV1>, DataError>
fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<HelloWorldV1>, DataError>
Query the provider for data, returning the result. Read more
Source§impl Debug for HelloWorldV1
impl Debug for HelloWorldV1
Source§impl DryDataProvider<HelloWorldV1> for HelloWorldProvider
impl DryDataProvider<HelloWorldV1> for HelloWorldProvider
Source§fn dry_load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponseMetadata, DataError>
fn dry_load( &self, req: DataRequest<'_>, ) -> Result<DataResponseMetadata, DataError>
Source§impl DynamicDataMarker for HelloWorldV1
impl DynamicDataMarker for HelloWorldV1
Source§type DataStruct = HelloWorld<'static>
type DataStruct = HelloWorld<'static>
A type that implements
Yokeable. This should typically be the 'static version of a
data struct.Source§impl IterableDataProvider<HelloWorldV1> for HelloWorldProvider
impl IterableDataProvider<HelloWorldV1> for HelloWorldProvider
Source§fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
Returns a set of
DataIdentifierCow.Auto Trait Implementations§
impl Freeze for HelloWorldV1
impl RefUnwindSafe for HelloWorldV1
impl Send for HelloWorldV1
impl Sync for HelloWorldV1
impl Unpin for HelloWorldV1
impl UnwindSafe for HelloWorldV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<M> DataMarkerExt for Mwhere
M: DataMarker,
impl<M> DataMarkerExt for Mwhere
M: DataMarker,
Source§fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
Binds a
DataMarker to a provider supporting it.Source§fn make_locale(locale: LocalePreferences) -> DataLocale
fn make_locale(locale: LocalePreferences) -> DataLocale
Constructs a
DataLocale using fallback preferences from this DataMarker.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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