Trait fidl::endpoints::ProxyHasClient
source · pub trait ProxyHasClient {
// Provided method
fn client(&self) -> Result<ZirconClient, Infallible> { ... }
}
Expand description
This gives native Zircon proxies a client method like FDomain proxies have. This makes it easier in some cases to build the same code for both FDomain and regular FIDL.
Provided Methods§
sourcefn client(&self) -> Result<ZirconClient, Infallible>
fn client(&self) -> Result<ZirconClient, Infallible>
Get a “client” for this proxy. This is just an object which has methods for a few common handle creation operations.