class Interface
Defined at line 66 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/natural_types.h
A matcher for network interfaces.
Public Methods
void Interface (Interface && other)
Interface & operator= (Interface && other)
void Interface (const Interface & other)
Interface & operator= (const Interface & other)
bool operator== (const Interface & other)
bool operator!= (const Interface & other)
bool IsUnknown ()
::fuchsia_net_matchers::Interface::Tag Which ()
Interface WithId (uint64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> id ()
::fidl::internal::UnionMemberView<1, Storage_> id ()
Interface & id (uint64_t value)
The ID of the interface as assigned by the netstack.
Interface WithName (::std::string val)
const ::fidl::internal::UnionMemberView<2, Storage_> name ()
::fidl::internal::UnionMemberView<2, Storage_> name ()
Interface & name (::std::string value)
The name of the interface.
Interface WithPortClass (::fuchsia_net_interfaces::PortClass val)
const ::fidl::internal::UnionMemberView<3, Storage_> port_class ()
::fidl::internal::UnionMemberView<3, Storage_> port_class ()
Interface & port_class (::fuchsia_net_interfaces::PortClass value)
The port class of the interface.
void Interface (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kId | 1 |
| kName | 2 |
| kPortClass | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 74 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits