#[non_exhaustive]pub struct StatefulRuleOptions { /* private fields */ }
Expand description
Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.
Implementations§
source§impl StatefulRuleOptions
impl StatefulRuleOptions
sourcepub fn rule_order(&self) -> Option<&RuleOrder>
pub fn rule_order(&self) -> Option<&RuleOrder>
Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER
is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.
source§impl StatefulRuleOptions
impl StatefulRuleOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatefulRuleOptions
.
Trait Implementations§
source§impl Clone for StatefulRuleOptions
impl Clone for StatefulRuleOptions
source§fn clone(&self) -> StatefulRuleOptions
fn clone(&self) -> StatefulRuleOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatefulRuleOptions
impl Debug for StatefulRuleOptions
source§impl PartialEq<StatefulRuleOptions> for StatefulRuleOptions
impl PartialEq<StatefulRuleOptions> for StatefulRuleOptions
source§fn eq(&self, other: &StatefulRuleOptions) -> bool
fn eq(&self, other: &StatefulRuleOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.