class DeviceStateWatcherWatchDeviceStateResult

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

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

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

Friends

class NaturalUnionCodingTraits