class DeviceSetSuspendStatesResult
Defined at line 191 of file fidling/gen/src/power/testing/fake-suspend/test.suspendcontrol/cpp/fidl/test.suspendcontrol/cpp/natural_types.h
Public Methods
void DeviceSetSuspendStatesResult (DeviceSetSuspendStatesResult && other)
DeviceSetSuspendStatesResult & operator= (DeviceSetSuspendStatesResult && other)
void DeviceSetSuspendStatesResult (const DeviceSetSuspendStatesResult & other)
DeviceSetSuspendStatesResult & operator= (const DeviceSetSuspendStatesResult & other)
bool operator== (const DeviceSetSuspendStatesResult & other)
bool operator!= (const DeviceSetSuspendStatesResult & other)
::test_suspendcontrol::DeviceSetSuspendStatesResult::Tag Which ()
DeviceSetSuspendStatesResult WithResponse (::test_suspendcontrol::DeviceSetSuspendStatesResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceSetSuspendStatesResult & response (::test_suspendcontrol::DeviceSetSuspendStatesResponse value)
Sets the union to hold the response member.
DeviceSetSuspendStatesResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceSetSuspendStatesResult & err (int32_t value)
Sets the union to hold the err member.
void DeviceSetSuspendStatesResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 199 of file fidling/gen/src/power/testing/fake-suspend/test.suspendcontrol/cpp/fidl/test.suspendcontrol/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits