class DevicePortEvent
Defined at line 1427 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
Port creation and destruction events.
Public Methods
void DevicePortEvent (DevicePortEvent && other)
DevicePortEvent & operator= (DevicePortEvent && other)
void DevicePortEvent (const DevicePortEvent & other)
DevicePortEvent & operator= (const DevicePortEvent & other)
bool operator== (const DevicePortEvent & other)
bool operator!= (const DevicePortEvent & other)
::fuchsia_hardware_network::DevicePortEvent::Tag Which ()
DevicePortEvent WithExisting (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<1, Storage_> existing ()
::fidl::internal::UnionMemberView<1, Storage_> existing ()
DevicePortEvent & existing (::fuchsia_hardware_network::PortId value)
Port existed when watcher was created.
DevicePortEvent WithAdded (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<2, Storage_> added ()
::fidl::internal::UnionMemberView<2, Storage_> added ()
DevicePortEvent & added (::fuchsia_hardware_network::PortId value)
New port was added to device.
DevicePortEvent WithRemoved (::fuchsia_hardware_network::PortId val)
const ::fidl::internal::UnionMemberView<3, Storage_> removed ()
::fidl::internal::UnionMemberView<3, Storage_> removed ()
DevicePortEvent & removed (::fuchsia_hardware_network::PortId value)
Port was removed from the device.
DevicePortEvent WithIdle (::fuchsia_hardware_network::Empty val)
const ::fidl::internal::UnionMemberView<4, Storage_> idle ()
::fidl::internal::UnionMemberView<4, Storage_> idle ()
DevicePortEvent & idle (::fuchsia_hardware_network::Empty value)
Exhausted list of existing ports.
void DevicePortEvent (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kExisting | 1 |
| kAdded | 2 |
| kRemoved | 3 |
| kIdle | 4 |
TODO: share union tag types between wire
&
natural.
Defined at line 1439 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits