fuchsia_component::client

Function connect_to_named_protocol_at_dir_root

Source
pub fn connect_to_named_protocol_at_dir_root<P: ProtocolMarker>(
    directory: &impl AsRefDirectory,
    filename: &str,
) -> Result<P::Proxy, Error>
Expand description

Connect to an instance of a FIDL protocol hosted in directory using the given filename.