class EndpointSetStall

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

Stall the endpoint.

The endpoint must have been allocated and configured.

This method returns after the hardware confirms the stall condition is active. All pending

transfers queued on the endpoint are cancelled and completed with `ZX_ERR_IO_REFUSED` via

`OnCompletion`. While the endpoint is stalled, any new requests submitted via

`QueueRequests` must immediately fail and complete with `ZX_ERR_IO_REFUSED`.

* error:

* `ZX_ERR_BAD_STATE` if the function is not configured.

* `ZX_ERR_IO_NOT_PRESENT` if the device is not running, disconnected, or inactive.

* `ZX_ERR_NOT_FOUND` if the endpoint address does not exist (not allocated).

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal