class ChargerEnableResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void ChargerEnableResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2
kFrameworkErr 3

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits