template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::fuchsia_hardware_usb_endpoint::Endpoint::GetInfo> GetInfo ()

Gets endpoint information

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_hardware_usb_endpoint::Endpoint::RegisterVmos> RegisterVmos (::fidl::VectorView< ::fuchsia_hardware_usb_endpoint::wire::VmoInfo> vmo_ids)

Registers and pins VMOs to the vmo_ids. Returns

* vmo: Handles to successfully registered vmo_ids.

VMO IDs that are already are registered to will fail.

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_hardware_usb_endpoint::Endpoint::UnregisterVmos> UnregisterVmos (::fidl::VectorView<uint64_t> vmo_ids)

Unregisters the VMOs corresponding to the vmo_ids. Returns

* failed_vmo_ids: vmo_ids that failed to unregister.

* errors: Error values that correspond 1:1 to failed_vmo_ids above.

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_hardware_usb_endpoint::Endpoint::CancelAll> CancelAll ()

Cancels all requests. Returns

* ZX_ERR_IO_NOT_PRESENT: If device is not running, disconnected, or inactive.

* ZX_ERR_IO: If cancel failed due to an unsuccessful request.

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