pub struct OfferAggregateServiceProvider<C: ComponentInstanceInterface, V> { /* private fields */ }
Implementations§
Source§impl<C, V> OfferAggregateServiceProvider<C, V>where
C: ComponentInstanceInterface + 'static,
V: OfferVisitor + ExposeVisitor + CapabilityVisitor + Send + Sync + Clone + 'static,
impl<C, V> OfferAggregateServiceProvider<C, V>where
C: ComponentInstanceInterface + 'static,
V: OfferVisitor + ExposeVisitor + CapabilityVisitor + Send + Sync + Clone + 'static,
pub fn new( offer_decls: Vec<OfferServiceDecl>, component: WeakComponentInstanceInterface<C>, sources: Sources, visitor: V, ) -> Self
Trait Implementations§
Source§impl<C: ComponentInstanceInterface, V> Clone for OfferAggregateServiceProvider<C, V>where
V: Clone,
impl<C: ComponentInstanceInterface, V> Clone for OfferAggregateServiceProvider<C, V>where
V: Clone,
Source§impl<C, V> FilteredAggregateCapabilityProvider for OfferAggregateServiceProvider<C, V>where
C: ComponentInstanceInterface + 'static,
V: OfferVisitor + ExposeVisitor + CapabilityVisitor + Send + Sync + Clone + 'static,
impl<C, V> FilteredAggregateCapabilityProvider for OfferAggregateServiceProvider<C, V>where
C: ComponentInstanceInterface + 'static,
V: OfferVisitor + ExposeVisitor + CapabilityVisitor + Send + Sync + Clone + '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, V> Freeze for OfferAggregateServiceProvider<C, V>where
V: Freeze,
impl<C, V> RefUnwindSafe for OfferAggregateServiceProvider<C, V>where
V: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, V> Send for OfferAggregateServiceProvider<C, V>where
V: Send,
impl<C, V> Sync for OfferAggregateServiceProvider<C, V>where
V: Sync,
impl<C, V> Unpin for OfferAggregateServiceProvider<C, V>where
V: Unpin,
impl<C, V> UnwindSafe for OfferAggregateServiceProvider<C, V>where
V: UnwindSafe,
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
)