template <>

class WireSyncClientImpl

Defined at line 290 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb/fuchsia.hardware.usb/cpp/fidl/fuchsia.hardware.usb/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_hardware_usb::Usb>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_usb::Usb::ConnectToEndpoint> ConnectToEndpoint (uint8_t ep_addr, ::fidl::ServerEnd< ::fuchsia_hardware_usb_endpoint::Endpoint> && ep)

Connects to endpoint. Returns

* ZX_ERR_NOT_FOUND: if endpoint address does not exist.

* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.