fuchsia_component::client

Function connect_to_service_instance_at_dir_svc

Source
pub fn connect_to_service_instance_at_dir_svc<S: ServiceMarker>(
    directory: &impl AsRefDirectory,
    instance: impl AsRef<str>,
) -> Result<S::Proxy, Error>
Expand description

Connect to an instance of a FIDL service hosted in directory, in the svc/ subdir.