#[non_exhaustive]pub struct MissingDataKeyPredicate;
Expand description
A predicate that allows forking providers to search for a provider that supports a particular data key.
This is normally used implicitly by ForkByKeyProvider
.
Trait Implementations§
source§impl Debug for MissingDataKeyPredicate
impl Debug for MissingDataKeyPredicate
source§impl ForkByErrorPredicate for MissingDataKeyPredicate
impl ForkByErrorPredicate for MissingDataKeyPredicate
source§const UNIT_ERROR: DataErrorKind = DataErrorKind::MissingDataKey
const UNIT_ERROR: DataErrorKind = DataErrorKind::MissingDataKey
The error to return if there are zero providers.
source§impl PartialEq for MissingDataKeyPredicate
impl PartialEq for MissingDataKeyPredicate
source§fn eq(&self, other: &MissingDataKeyPredicate) -> bool
fn eq(&self, other: &MissingDataKeyPredicate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MissingDataKeyPredicate
impl StructuralPartialEq for MissingDataKeyPredicate
Auto Trait Implementations§
impl Freeze for MissingDataKeyPredicate
impl RefUnwindSafe for MissingDataKeyPredicate
impl Send for MissingDataKeyPredicate
impl Sync for MissingDataKeyPredicate
impl Unpin for MissingDataKeyPredicate
impl UnwindSafe for MissingDataKeyPredicate
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<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more