class RuleAction
Defined at line 3976 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
Actions of a rule if the matcher matches.
Public Methods
void RuleAction ()
void RuleAction (const RuleAction & )
Defined at line 3982 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
RuleAction & operator= (const RuleAction & )
Defined at line 3983 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
void RuleAction (RuleAction && )
Defined at line 3984 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
RuleAction & operator= (RuleAction && )
Defined at line 3985 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
bool IsUnknown ()
Defined at line 3992 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h
bool has_invalid_tag ()
bool is_lookup ()
RuleAction WithLookup (uint32_t val)
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.
uint32_t & lookup ()
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.
const uint32_t & lookup ()
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.
bool is_unreachable ()
RuleAction WithUnreachable (::fuchsia_net_routes::wire::Unreachable val)
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.
::fuchsia_net_routes::wire::Unreachable & unreachable ()
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.
const ::fuchsia_net_routes::wire::Unreachable & unreachable ()
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.
::fuchsia_net_routes::wire::RuleAction::Tag Which ()
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() |
Defined at line 3987 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h