pub struct OfferFilteredServiceProvider<C: ComponentInstanceInterface> { /* private fields */ }
Implementations§
Source§impl<C> OfferFilteredServiceProvider<C>where
C: ComponentInstanceInterface + 'static,
impl<C> OfferFilteredServiceProvider<C>where
C: ComponentInstanceInterface + 'static,
pub fn new( offer_decl: OfferServiceDecl, component: WeakComponentInstanceInterface<C>, capability: ComponentCapability, ) -> Self
Trait Implementations§
Source§impl<C: ComponentInstanceInterface> Clone for OfferFilteredServiceProvider<C>
impl<C: ComponentInstanceInterface> Clone for OfferFilteredServiceProvider<C>
Source§impl<C> FilteredAggregateCapabilityProvider for OfferFilteredServiceProvider<C>where
C: ComponentInstanceInterface + 'static,
impl<C> FilteredAggregateCapabilityProvider for OfferFilteredServiceProvider<C>where
C: ComponentInstanceInterface + 'static,
Source§fn route_instances(
&self,
) -> Vec<BoxFuture<'_, Result<FilteredAggregateCapabilityRouteData, RoutingError>>>
fn route_instances( &self, ) -> Vec<BoxFuture<'_, Result<FilteredAggregateCapabilityRouteData, RoutingError>>>
Return a list of futures to route every instance in the aggregate to its source. Each
result is paired with the list of instances to include in the source.
Source§fn clone_boxed(&self) -> Box<dyn FilteredAggregateCapabilityProvider>
fn clone_boxed(&self) -> Box<dyn FilteredAggregateCapabilityProvider>
Trait-object compatible clone.
Auto Trait Implementations§
impl<C> Freeze for OfferFilteredServiceProvider<C>
impl<C> RefUnwindSafe for OfferFilteredServiceProvider<C>where
C: RefUnwindSafe,
impl<C> Send for OfferFilteredServiceProvider<C>
impl<C> Sync for OfferFilteredServiceProvider<C>
impl<C> Unpin for OfferFilteredServiceProvider<C>
impl<C> UnwindSafe for OfferFilteredServiceProvider<C>where
C: RefUnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)