class RuleAction
Defined at line 2827 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/natural_types.h
Actions of a rule if the matcher matches.
Public Methods
void RuleAction (RuleAction && other)
RuleAction & operator= (RuleAction && other)
void RuleAction (const RuleAction & other)
RuleAction & operator= (const RuleAction & other)
bool operator== (const RuleAction & other)
bool operator!= (const RuleAction & other)
bool IsUnknown ()
::fuchsia_net_routes::RuleAction::Tag Which ()
RuleAction WithLookup (uint32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> lookup ()
::fidl::internal::UnionMemberView<1, Storage_> lookup ()
RuleAction & lookup (uint32_t value)
Look for a route in the indicated route table. If there is no matching
route in the target table, the lookup will continue to consider the
next rule.
RuleAction WithUnreachable (::fuchsia_net_routes::Unreachable val)
const ::fidl::internal::UnionMemberView<2, Storage_> unreachable ()
::fidl::internal::UnionMemberView<2, Storage_> unreachable ()
RuleAction & unreachable (::fuchsia_net_routes::Unreachable value)
Return network is unreachable. This is contrary to if a `lookup` table
is empty or no matching routes, this decision is terminal and stops
the lookup process from continuing.
void RuleAction (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kLookup | 1 |
| kUnreachable | 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 2837 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits