pub enum IptablesRuleDiscriminants {
V4,
V6,
}Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for IptablesRuleDiscriminants
impl Clone for IptablesRuleDiscriminants
Source§fn clone(&self) -> IptablesRuleDiscriminants
fn clone(&self) -> IptablesRuleDiscriminants
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 moreimpl Copy for IptablesRuleDiscriminants
Source§impl Debug for IptablesRuleDiscriminants
impl Debug for IptablesRuleDiscriminants
impl Eq for IptablesRuleDiscriminants
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.
impl StructuralPartialEq for IptablesRuleDiscriminants
Auto Trait Implementations§
impl Freeze for IptablesRuleDiscriminants
impl RefUnwindSafe for IptablesRuleDiscriminants
impl Send for IptablesRuleDiscriminants
impl Sync for IptablesRuleDiscriminants
impl Unpin for IptablesRuleDiscriminants
impl UnsafeUnpin for IptablesRuleDiscriminants
impl UnwindSafe for IptablesRuleDiscriminants
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.