class DeviceRequestVoltageResult

Defined at line 1239 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/natural_types.h

Public Methods

void DeviceRequestVoltageResult (DeviceRequestVoltageResult && other)
DeviceRequestVoltageResult & operator= (DeviceRequestVoltageResult && other)
void DeviceRequestVoltageResult (const DeviceRequestVoltageResult & other)
DeviceRequestVoltageResult & operator= (const DeviceRequestVoltageResult & other)
bool operator== (const DeviceRequestVoltageResult & other)
bool operator!= (const DeviceRequestVoltageResult & other)
::fuchsia_hardware_power::DeviceRequestVoltageResult::Tag Which ()
DeviceRequestVoltageResult WithResponse (::fuchsia_hardware_power::DeviceRequestVoltageResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceRequestVoltageResult & response (::fuchsia_hardware_power::DeviceRequestVoltageResponse value)

Sets the union to hold the response member.

DeviceRequestVoltageResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceRequestVoltageResult & err (int32_t value)

Sets the union to hold the err member.

void DeviceRequestVoltageResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

Defined at line 1247 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits