class DeviceTransferResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

void DeviceTransferResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits