class Admin_Poweroff_Result
Defined at line 1219 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 1250 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_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Admin_Poweroff_Result * value, size_t offset)
zx_status_t Clone (Admin_Poweroff_Result * result)
bool has_invalid_tag ()
Defined at line 1246 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 1252 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 1257 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 1263 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 1265 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 1270 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 1276 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 1284 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 1289 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 1292 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 1295 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 1303 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
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1232 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