class BoundPort

Defined at line 1217 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/natural_types.h

A matcher for transport-layer port numbers that might be unbound.

Public Methods

void BoundPort (BoundPort && other)
BoundPort & operator= (BoundPort && other)
void BoundPort (const BoundPort & other)
BoundPort & operator= (const BoundPort & other)
bool operator== (const BoundPort & other)
bool operator!= (const BoundPort & other)
bool IsUnknown ()
::fuchsia_net_matchers::BoundPort::Tag Which ()
BoundPort WithBound (::fuchsia_net_matchers::Port val)
const ::fidl::internal::UnionMemberView<1, Storage_> bound ()
::fidl::internal::UnionMemberView<1, Storage_> bound ()
BoundPort & bound (::fuchsia_net_matchers::Port value)

Matches iff the port is bound and matches (see [`Port`] for matching

criteria).

BoundPort WithUnbound (::fuchsia_net_matchers::Empty val)
const ::fidl::internal::UnionMemberView<2, Storage_> unbound ()
::fidl::internal::UnionMemberView<2, Storage_> unbound ()
BoundPort & unbound (::fuchsia_net_matchers::Empty value)

Matches iff the port is unbound.

void BoundPort (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kBound 1
kUnbound 2
_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 1225 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits