class Rule
Defined at line 2673 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
A rule is a set of criteria (matchers) and a resultant action.
Public Methods
void Rule (Storage_ storage)
void Rule (::fuchsia_net_filter::RuleId id, ::fuchsia_net_filter::Matchers matchers, ::fuchsia_net_filter::Action action)
void Rule ()
Default constructs a |Rule| only if all of its members are default constructible.
Defined at line 2683 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
void Rule (Rule && )
Defined at line 2686 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
void Rule (const Rule & other)
Rule & operator= (Rule && )
Defined at line 2687 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
Rule & operator= (const Rule & other)
bool operator== (const Rule & other)
bool operator!= (const Rule & other)
const ::fuchsia_net_filter::RuleId & id ()
The ID of the rule.
Must be unique within the scope of the routine to which the rule is
added.
::fuchsia_net_filter::RuleId & id ()
The ID of the rule.
Must be unique within the scope of the routine to which the rule is
added.
Rule & id (::fuchsia_net_filter::RuleId value)
The ID of the rule.
Must be unique within the scope of the routine to which the rule is
added.
const ::fuchsia_net_filter::Matchers & matchers ()
The criteria that a packet must match for the action to be executed.
::fuchsia_net_filter::Matchers & matchers ()
The criteria that a packet must match for the action to be executed.
Rule & matchers (::fuchsia_net_filter::Matchers value)
The criteria that a packet must match for the action to be executed.
const ::fuchsia_net_filter::Action & action ()
The action to take on a matching packet.
::fuchsia_net_filter::Action & action ()
The action to take on a matching packet.
Rule & action (::fuchsia_net_filter::Action value)
The action to take on a matching packet.
void Rule (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits