class BoundInterface
Defined at line 1243 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
A matcher for network interfaces where it might be unbound (`BindToDevice`
has not been called).
Public Members
static const fidl_type_t * FidlType
Public Methods
void BoundInterface ()
void ~BoundInterface ()
void BoundInterface (BoundInterface && )
BoundInterface & operator= (BoundInterface && )
BoundInterface WithBound (::fuchsia::net::matchers::Interface && )
BoundInterface WithUnbound (::fuchsia::net::matchers::Empty && )
::std::unique_ptr<BoundInterface> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, BoundInterface * value, size_t offset)
zx_status_t Clone (BoundInterface * result)
bool has_invalid_tag ()
Defined at line 1271 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_bound ()
Defined at line 1275 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::fuchsia::net::matchers::Interface & bound ()
Matches iff the socket is bound to a matching interface (see
[`Interface`] for matching criteria).
Defined at line 1279 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::fuchsia::net::matchers::Interface & bound ()
Matches iff the socket is bound to a matching interface (see
[`Interface`] for matching criteria).
Defined at line 1286 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_unbound ()
Defined at line 1292 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
BoundInterface & set_bound (::fuchsia::net::matchers::Interface value)
BoundInterface & set_unbound (::fuchsia::net::matchers::Empty value)
BoundInterface & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::net::matchers::Empty & unbound ()
Matches iff the outgoing traffic is not bound to a device.
Defined at line 1295 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::fuchsia::net::matchers::Empty & unbound ()
Matches iff the outgoing traffic is not bound to a device.
Defined at line 1301 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::fuchsia::net::matchers::BoundInterface::Tag Which ()
Defined at line 1308 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 1321 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 1324 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kBound | 1 |
| kUnbound | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1256 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Friends
class Equality