pub fn verify_instance_in_component_id_index<C>(
    source: &CapabilitySource<C>,
    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.