class DriverError

Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

Errors that this driver may return.

Public Members

static DriverError kInternal
static DriverError kNotSupported
static DriverError kInvalidArgs
static DriverError kBadState
static DriverError kIoRefused
static DriverError kCanceled
static DriverError kNotFound

Public Methods

void DriverError ()

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

void DriverError (uint32_t value)

Defined at line 52 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

EnumForSwitching_ operator fuchsia_hardware_spmi::DriverError::EnumForSwitching_ ()

Defined at line 53 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 54 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

bool IsUnknown ()

Defined at line 56 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h

DriverError Unknown ()

Returns an enum corresponding to the member designated as

in the

FIDL schema if exists, or a compiler-reserved unknown value otherwise.

Defined at line 79 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/common_types.h