class UsbDciAllocEndpointResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void UsbDciAllocEndpointResult (::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 2130 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits