pub async fn route_config_value<C>(
use_config: &UseConfigurationDecl,
component: &Arc<C>,
) -> Result<Option<ConfigValue>, RouterError>where
C: ComponentInstanceInterface + 'static,
Expand description
Route the given use_config
from a specific component
.
This returns the configuration value as a result.
This will return Ok(None) if it was routed successfully, but it
was an optional capability.