#[non_exhaustive]pub struct MarkerNotFoundPredicate;
Expand description
A predicate that allows forking providers to search for a provider that supports a particular data marker.
This is normally used implicitly by ForkByMarkerProvider
.
Trait Implementations§
source§impl Debug for MarkerNotFoundPredicate
impl Debug for MarkerNotFoundPredicate
source§impl ForkByErrorPredicate for MarkerNotFoundPredicate
impl ForkByErrorPredicate for MarkerNotFoundPredicate
source§const UNIT_ERROR: DataErrorKind = DataErrorKind::MarkerNotFound
const UNIT_ERROR: DataErrorKind = DataErrorKind::MarkerNotFound
The error to return if there are zero providers.
source§impl PartialEq for MarkerNotFoundPredicate
impl PartialEq for MarkerNotFoundPredicate
impl Eq for MarkerNotFoundPredicate
impl StructuralPartialEq for MarkerNotFoundPredicate
Auto Trait Implementations§
impl Freeze for MarkerNotFoundPredicate
impl RefUnwindSafe for MarkerNotFoundPredicate
impl Send for MarkerNotFoundPredicate
impl Sync for MarkerNotFoundPredicate
impl Unpin for MarkerNotFoundPredicate
impl UnwindSafe for MarkerNotFoundPredicate
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> 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