class SocketTransportProtocol
Defined at line 1497 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 fields of a socket.
Public Methods
void SocketTransportProtocol (SocketTransportProtocol && other)
SocketTransportProtocol & operator= (SocketTransportProtocol && other)
void SocketTransportProtocol (const SocketTransportProtocol & other)
SocketTransportProtocol & operator= (const SocketTransportProtocol & other)
bool operator== (const SocketTransportProtocol & other)
bool operator!= (const SocketTransportProtocol & other)
bool IsUnknown ()
::fuchsia_net_matchers::SocketTransportProtocol::Tag Which ()
SocketTransportProtocol WithTcp (::fuchsia_net_matchers::TcpSocket val)
const ::fidl::internal::UnionMemberView<1, Storage_> tcp ()
::fidl::internal::UnionMemberView<1, Storage_> tcp ()
SocketTransportProtocol & tcp (::fuchsia_net_matchers::TcpSocket value)
Matches against TCP fields.
SocketTransportProtocol WithUdp (::fuchsia_net_matchers::UdpSocket val)
const ::fidl::internal::UnionMemberView<2, Storage_> udp ()
::fidl::internal::UnionMemberView<2, Storage_> udp ()
SocketTransportProtocol & udp (::fuchsia_net_matchers::UdpSocket value)
Matches against UDP fields.
void SocketTransportProtocol (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kTcp | 1 |
| kUdp | 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 1505 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits