// Routes a storage capability and its backing directory from a `ComponentInstanceForAnalyzer` and
// panics if the future returned by `route_storage_and_backing_directory` is not ready immediately.
//
// TODO(fxbug.dev/87204): Remove this function and use `route_capability` directly when Scrutiny's
// `DataController`s allow async function calls.
Routes a storage capability and its backing directory from a `ComponentInstanceForAnalyzer` and
panics if the future returned by `route_storage_and_backing_directory` is not ready immediately.


Routes a storage capability and its backing directory from a ` ComponentInstanceForAnalyzer ` and panics if the future returned by ` route_storage_and_backing_directory ` is not ready immediately .
fn route_storage_and_backing_directory_sync(
        use_decl: UseStorageDecl,
        target: &Arc<ComponentInstanceForAnalyzer>,
    ) -> Result<
            (
                StorageCapabilitySource<ComponentInstanceForAnalyzer>,
                InstancedRelativeMoniker,
                <<ComponentInstanceForAnalyzer as ComponentInstanceInterface>::DebugRouteMapper as DebugRouteMapper>::RouteMap,
                <<ComponentInstanceForAnalyzer as ComponentInstanceInterface>::DebugRouteMapper as DebugRouteMapper>::RouteMap,
            ),
        RoutingError>
    {
        route_storage_and_backing_directory(use_decl, target)
            .now_or_never()
            .expect("future was not ready immediately")
    }
fn route_storage_and_backing_directory_sync ( use_decl : UseStorageDecl , target : & Arc < ComponentInstanceForAnalyzer > , ) -> Result < ( StorageCapabilitySource < ComponentInstanceForAnalyzer > , InstancedRelativeMoniker , < < ComponentInstanceForAnalyzer as ComponentInstanceInterface > :: DebugRouteMapper as DebugRouteMapper > :: RouteMap , < < ComponentInstanceForAnalyzer as ComponentInstanceInterface > :: DebugRouteMapper as DebugRouteMapper > :: RouteMap , ) , RoutingError > { route_storage_and_backing_directory ( use_decl , target ) . now_or_never ( ) . expect ( " " ) }
Routes a storage capability and its backing directory from a `ComponentInstanceForAnalyzer` and
panics if the future returned by `route_storage_and_backing_directory` is not ready immediately.
Routes a storage capability and its backing directory from a ` ComponentInstanceForAnalyzer ` and panics if the future returned by ` route_storage_and_backing_directory ` is not ready immediately .
use_decl
UseStorageDecl
target
&Arc<ComponentInstanceForAnalyzer>