class TestConnectSpiLoopbackResult

Defined at line 665 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi/fuchsia.hardware.spi/cpp/fidl/fuchsia.hardware.spi/cpp/natural_types.h

Public Methods

void TestConnectSpiLoopbackResult (TestConnectSpiLoopbackResult && other)
TestConnectSpiLoopbackResult & operator= (TestConnectSpiLoopbackResult && other)
void TestConnectSpiLoopbackResult (const TestConnectSpiLoopbackResult & other)
TestConnectSpiLoopbackResult & operator= (const TestConnectSpiLoopbackResult & other)
bool operator== (const TestConnectSpiLoopbackResult & other)
bool operator!= (const TestConnectSpiLoopbackResult & other)
::fuchsia_hardware_spi::TestConnectSpiLoopbackResult::Tag Which ()
TestConnectSpiLoopbackResult WithResponse (::fuchsia_hardware_spi::TestConnectSpiLoopbackResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
TestConnectSpiLoopbackResult & response (::fuchsia_hardware_spi::TestConnectSpiLoopbackResponse value)

Sets the union to hold the response member.

TestConnectSpiLoopbackResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
TestConnectSpiLoopbackResult & err (int32_t value)

Sets the union to hold the err member.

void TestConnectSpiLoopbackResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kErr 2

0x2

TODO: share union tag types between wire

&

natural.

Defined at line 673 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi/fuchsia.hardware.spi/cpp/fidl/fuchsia.hardware.spi/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits