component_debug::dirs

Function connect_to_instance_protocol_at_path

Source
pub async fn connect_to_instance_protocol_at_path<P: ProtocolMarker>(
    moniker: &Moniker,
    dir_type: OpenDirType,
    path: &str,
    realm: &RealmQueryProxy,
) -> Result<P::Proxy, OpenError>
Expand description

Opens a protocol in a component instance directory at the given |path|.