class ProtocolDoActionResult
Defined at line 236 of file fidling/gen/sdk/testing/fidl/protocols_tests/test.protocol.connector/cpp/fidl/test.protocol.connector/cpp/natural_types.h
Public Methods
void ProtocolDoActionResult (ProtocolDoActionResult && other)
ProtocolDoActionResult & operator= (ProtocolDoActionResult && other)
void ProtocolDoActionResult (const ProtocolDoActionResult & other)
ProtocolDoActionResult & operator= (const ProtocolDoActionResult & other)
bool operator== (const ProtocolDoActionResult & other)
bool operator!= (const ProtocolDoActionResult & other)
::test_protocol_connector::ProtocolDoActionResult::Tag Which ()
ProtocolDoActionResult WithResponse (::test_protocol_connector::ProtocolDoActionResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
ProtocolDoActionResult & response (::test_protocol_connector::ProtocolDoActionResponse value)
Sets the union to hold the response member.
ProtocolDoActionResult WithErr (::test_protocol_connector::Error val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
ProtocolDoActionResult & err (::test_protocol_connector::Error value)
Sets the union to hold the err member.
void ProtocolDoActionResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 244 of file fidling/gen/sdk/testing/fidl/protocols_tests/test.protocol.connector/cpp/fidl/test.protocol.connector/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits