fuchsia_component::client

Function connect_to_instance_in_service_dir

Source
pub fn connect_to_instance_in_service_dir<S: ServiceMarker>(
    directory: &DirectoryProxy,
    instance: &str,
) -> Result<S::Proxy, Error>
Expand description

Connect to an instance of a FIDL service hosted on the directory protocol channel directory. instance is a path of one or more components.