[][src]Struct dfw::iptables::Iptables

pub struct Iptables;

Marker struct to implement iptables as a firewall backend.

Implementations

impl Iptables[src]

pub fn get_rules(
    rules: Vec<IptablesRule>,
    rule_discriminant: IptablesRuleDiscriminants
) -> Vec<String>
[src]

Retrieve the current text that would be passed to iptables-restore as a vector of lines.

Trait Implementations

impl Debug for Iptables[src]

impl FirewallBackend for Iptables[src]

type Rule = IptablesRule

Associated type identifying the rule-type returned.

type Defaults = Defaults

Associated type representing the firewall backend defaults/configuration.

impl Process<Iptables> for DFW<Iptables>[src]

impl Process<Iptables> for <Iptables as FirewallBackend>::Defaults[src]

impl Process<Iptables> for WiderWorldToContainerRule[src]

impl Process<Iptables> for ContainerDNAT[src]

impl Process<Iptables> for ContainerDNATRule[src]

impl Process<Iptables> for GlobalDefaults[src]

impl Process<Iptables> for ContainerToContainer[src]

impl Process<Iptables> for ContainerToContainerRule[src]

impl Process<Iptables> for ContainerToWiderWorld[src]

impl Process<Iptables> for ContainerToWiderWorldRule[src]

impl Process<Iptables> for ContainerToHost[src]

impl Process<Iptables> for ContainerToHostRule[src]

impl Process<Iptables> for WiderWorldToContainer[src]

Auto Trait Implementations

impl RefUnwindSafe for Iptables

impl Send for Iptables

impl Sync for Iptables

impl Unpin for Iptables

impl UnwindSafe for Iptables

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,