fuchsia_component::client

Function connect_to_protocol_at_dir_root

Source
pub fn connect_to_protocol_at_dir_root<P: DiscoverableProtocolMarker>(
    directory: &impl AsRefDirectory,
) -> Result<P::Proxy, Error>
Expand description

Connect to an instance of a FIDL protocol hosted in directory.