class Admin_Poweroff_Result
Defined at line 1225 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void Admin_Poweroff_Result ()
void Admin_Poweroff_Result (Admin_Poweroff_Result && )
bool is_response ()
Defined at line 1256 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
Admin_Poweroff_Result & operator= (Admin_Poweroff_Result && )
Admin_Poweroff_Result WithResponse (::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response && )
Admin_Poweroff_Result WithErr (int32_t && )
::std::unique_ptr<Admin_Poweroff_Result> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Admin_Poweroff_Result *value,size_toffset)
zx_status_t Clone (Admin_Poweroff_Result * result)
bool has_invalid_tag ()
Defined at line 1252 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response & response ()
Defined at line 1258 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
const ::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response & response ()
Defined at line 1263 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
bool is_err ()
Defined at line 1269 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
int32_t & err ()
Defined at line 1271 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
const int32_t & err ()
Defined at line 1276 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Result::Tag Which ()
Defined at line 1282 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 1290 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
void Admin_Poweroff_Result (fpromise::ok_result<void> && result)
Defined at line 1295 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
void Admin_Poweroff_Result (fpromise::error_result<int32_t> && result)
Defined at line 1298 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
void Admin_Poweroff_Result (fpromise::result<void, int32_t> && result)
Defined at line 1301 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
fpromise::result<void, int32_t> operator result ()
Defined at line 1309 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
void ~Admin_Poweroff_Result ()
Admin_Poweroff_Result & set_response (::fuchsia::hardware::power::statecontrol::Admin_Poweroff_Response value)
Admin_Poweroff_Result & set_err (int32_t value)
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kResponse | 1 |
0x1 |
| kErr | 2 |
0x2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 1238 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/hlcpp/fuchsia/hardware/power/statecontrol/cpp/fidl.h
Friends
class Equality