pub enum IptablesRule {
V4(PolicyOrRule),
V6(PolicyOrRule),
}Expand description
Rule representation for iptables firewall backend.
Variants§
Trait Implementations§
Source§impl Clone for IptablesRule
impl Clone for IptablesRule
Source§fn clone(&self) -> IptablesRule
fn clone(&self) -> IptablesRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IptablesRule
impl Debug for IptablesRule
Source§impl<'_enum> From<&'_enum IptablesRule> for IptablesRuleDiscriminants
impl<'_enum> From<&'_enum IptablesRule> for IptablesRuleDiscriminants
Source§fn from(val: &'_enum IptablesRule) -> IptablesRuleDiscriminants
fn from(val: &'_enum IptablesRule) -> IptablesRuleDiscriminants
Converts to this type from the input type.
Source§impl From<IptablesRule> for IptablesRuleDiscriminants
impl From<IptablesRule> for IptablesRuleDiscriminants
Source§fn from(val: IptablesRule) -> IptablesRuleDiscriminants
fn from(val: IptablesRule) -> IptablesRuleDiscriminants
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IptablesRule
impl RefUnwindSafe for IptablesRule
impl Send for IptablesRule
impl Sync for IptablesRule
impl Unpin for IptablesRule
impl UnsafeUnpin for IptablesRule
impl UnwindSafe for IptablesRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more