pub async fn verify_instance_in_component_id_index<C>(
source: &CapabilitySource,
instance: &Arc<C>,
) -> Result<(), RoutingError>where
C: ComponentInstanceInterface + 'static,
Expand description
Verifies that the given component is in the index if its storage_id
is StaticInstanceId.
- On success, Ok(()) is returned
- RoutingError::ComponentNotInIndex is returned on failure.