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