class DeviceReadResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void DeviceReadResult (::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 588 of file fidling/gen/sdk/fidl/fuchsia.hardware.serialimpl/fuchsia.hardware.serialimpl/cpp/fidl/fuchsia.hardware.serialimpl/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits