Function connect_to_protocol

Source
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.