class GpioReadResult
Defined at line 144 of file fidling/gen/sdk/fidl/fuchsia.hardware.gpio/fuchsia.hardware.gpio/cpp/fidl/fuchsia.hardware.gpio/cpp/natural_types.h
Public Methods
void GpioReadResult (GpioReadResult && other)
GpioReadResult & operator= (GpioReadResult && other)
void GpioReadResult (const GpioReadResult & other)
GpioReadResult & operator= (const GpioReadResult & other)
bool operator== (const GpioReadResult & other)
bool operator!= (const GpioReadResult & other)
::fuchsia_hardware_gpio::GpioReadResult::Tag Which ()
GpioReadResult WithResponse (::fuchsia_hardware_gpio::GpioReadResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
GpioReadResult & response (::fuchsia_hardware_gpio::GpioReadResponse value)
Sets the union to hold the response member.
GpioReadResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
GpioReadResult & err (int32_t value)
Sets the union to hold the err member.
void GpioReadResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 152 of file fidling/gen/sdk/fidl/fuchsia.hardware.gpio/fuchsia.hardware.gpio/cpp/fidl/fuchsia.hardware.gpio/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits