Function fuchsia_component::client::connect_to_protocol_sync
source ยท pub fn connect_to_protocol_sync<P: DiscoverableProtocolMarker>() -> Result<P::SynchronousProxy, Error>
Expand description
Connect to a FIDL protocol using the application root namespace, returning a synchronous proxy.
Note: while this function returns a synchronous thread-blocking proxy it does not block until the connection is complete. The proxy must be used to discover whether the connection was successful.