class DeviceGetConfigurationResult
Defined at line 473 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
Public Methods
void DeviceGetConfigurationResult (DeviceGetConfigurationResult && other)
DeviceGetConfigurationResult & operator= (DeviceGetConfigurationResult && other)
void DeviceGetConfigurationResult (const DeviceGetConfigurationResult & other)
DeviceGetConfigurationResult & operator= (const DeviceGetConfigurationResult & other)
bool operator== (const DeviceGetConfigurationResult & other)
bool operator!= (const DeviceGetConfigurationResult & other)
::fuchsia_hardware_usb_peripheral::DeviceGetConfigurationResult::Tag Which ()
DeviceGetConfigurationResult WithResponse (::fuchsia_hardware_usb_peripheral::DeviceGetConfigurationResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceGetConfigurationResult & response (::fuchsia_hardware_usb_peripheral::DeviceGetConfigurationResponse value)
Sets the union to hold the response member.
DeviceGetConfigurationResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceGetConfigurationResult & err (int32_t value)
Sets the union to hold the err member.
DeviceGetConfigurationResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
DeviceGetConfigurationResult & framework_err (::fidl::internal::FrameworkErr value)
Sets the union to hold the framework_err member.
void DeviceGetConfigurationResult (::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 481 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits