template <>

class WireWeakAsyncClientImpl

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

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_usb_function::UsbFunction::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 24 bytes of request buffer on the stack. The callback is stored on the heap.