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