Function routing::config::route_config_value
source · pub async fn route_config_value<C>(
use_config: &UseConfigurationDecl,
component: &Arc<C>
) -> Result<Option<ConfigValue>, RoutingError>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.