class AdminPoweroffResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

void AdminPoweroffResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits