class BatteryConfigureWatchResult

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

Public Methods

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

Sets the union to hold the response member.

BatteryConfigureWatchResult WithErr (::fuchsia_hardware_power_battery::Error val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
BatteryConfigureWatchResult & err (::fuchsia_hardware_power_battery::Error value)

Sets the union to hold the err member.

BatteryConfigureWatchResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
BatteryConfigureWatchResult & framework_err (::fidl::internal::FrameworkErr value)

Sets the union to hold the framework_err member.

void BatteryConfigureWatchResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kErr 2

0x2

kFrameworkErr 3

0x3

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits