routing

Function route_to_storage_decl

Source
pub async fn route_to_storage_decl<C>(
    use_decl: UseStorageDecl,
    target: &Arc<C>,
    mapper: &mut dyn DebugRouteMapper,
) -> Result<CapabilitySource, RoutingError>
where C: ComponentInstanceInterface + 'static,
Expand description

Routes a Storage capability from target to its source, starting from use_decl. Returns the StorageDecl and the storage component’s instance.