component_debug::dirs

Function connect_to_instance_protocol_at_dir_root

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

Opens a protocol in a component instance directory, assuming it is located at the root.