[−][src]Trait dfw::FirewallBackend
This trait is used to distinguish between different firewall backends.
To add a new firewall-backend create an empty struct implementing this trait.
Associated Types
type Rule
Associated type identifying the rule-type returned.
type Defaults: Debug + DeserializeOwned
Associated type representing the firewall backend defaults/configuration.
Required methods
fn apply(rules: Vec<Self::Rule>, ctx: &ProcessContext<'_, Self>) -> Result<()>
Apply the processed rules.