#[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§fn test(
&self,
_: DataMarkerInfo,
_: Option<DataRequest<'_>>,
err: DataError,
) -> bool
fn test( &self, _: DataMarkerInfo, _: Option<DataRequest<'_>>, err: DataError, ) -> bool
This function is called when a data request fails and there are additional providers
that could possibly fulfill the request. Read more
Source§impl PartialEq for MarkerNotFoundPredicate
impl PartialEq for MarkerNotFoundPredicate
Source§fn eq(&self, other: &MarkerNotFoundPredicate) -> bool
fn eq(&self, other: &MarkerNotFoundPredicate) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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