class UsbSetConfigurationResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void UsbSetConfigurationResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kErr 2

0x2

kFrameworkErr 3

0x3

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits