class Read
Defined at line 95 of file fidling/gen/sdk/fidl/fuchsia.hardware.serialimpl/fuchsia.hardware.serialimpl/cpp/fidl/fuchsia.hardware.serialimpl/cpp/markers.h
Perform a read operation. Returns immediately if data has been received since the last call;
otherwise the request is completed the next time data is received (clients can use the
hanging-get pattern to be notified of new data).
- response `data` the bytes read from the device.
* error one of the following values:
* `ZX_ERR_BAD_STATE`: The device was not enabled.
* `ZX_ERR_CANCELED`: The call was canceled by `CancelAll()`.
* `ZX_ERR_ALREADY_BOUND`: Another `Read()` call was already pending.
* `ZX_ERR_IO_NOT_PRESENT`: The serial controller is in a low-power state or is
* transitioning to a low-power state.
* Other values may be returned for driver- or device-specific errors.
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