class DeviceWriteResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

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

Friends

class NaturalUnionCodingTraits