class AdminShutdownResult
Defined at line 250 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 AdminShutdownResult (AdminShutdownResult && other)
AdminShutdownResult & operator= (AdminShutdownResult && other)
void AdminShutdownResult (const AdminShutdownResult & other)
AdminShutdownResult & operator= (const AdminShutdownResult & other)
bool operator== (const AdminShutdownResult & other)
bool operator!= (const AdminShutdownResult & other)
::fuchsia_hardware_power_statecontrol::AdminShutdownResult::Tag Which ()
AdminShutdownResult WithResponse (::fuchsia_hardware_power_statecontrol::AdminShutdownResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
AdminShutdownResult & response (::fuchsia_hardware_power_statecontrol::AdminShutdownResponse value)
Sets the union to hold the response member.
AdminShutdownResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
AdminShutdownResult & err (int32_t value)
Sets the union to hold the err member.
void AdminShutdownResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 258 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