class DeviceTransactResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

DeviceTransactResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
DeviceTransactResult & framework_err (::fidl::internal::FrameworkErr value)

Sets the union to hold the framework_err member.

void DeviceTransactResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2
kFrameworkErr 3

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits