pub fn connect_to_protocol<P: DiscoverableProtocolMarker>() -> Result<P::Proxy, Error>
Expand description
Connect to a FIDL protocol in the /svc
directory of the application’s root namespace.
pub fn connect_to_protocol<P: DiscoverableProtocolMarker>() -> Result<P::Proxy, Error>
Connect to a FIDL protocol in the /svc
directory of the application’s root namespace.