class HidbusSetProtocolResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

void HidbusSetProtocolResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits