class DeviceReadResult
Defined at line 420 of file fidling/gen/sdk/fidl/fuchsia.hardware.serial/fuchsia.hardware.serial/cpp/fidl/fuchsia.hardware.serial/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_serial::DeviceReadResult::Tag Which ()
DeviceReadResult WithResponse (::fuchsia_hardware_serial::DeviceReadResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceReadResult & response (::fuchsia_hardware_serial::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.
void DeviceReadResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 428 of file fidling/gen/sdk/fidl/fuchsia.hardware.serial/fuchsia.hardware.serial/cpp/fidl/fuchsia.hardware.serial/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits