pub enum Mechanism {
All,
Include {
macro_string: Macro,
},
A {
macro_string: Macro,
ip4_mask: u32,
ip6_mask: u128,
},
Mx {
macro_string: Macro,
ip4_mask: u32,
ip6_mask: u128,
},
Ptr {
macro_string: Macro,
},
Ip4 {
addr: Ipv4Addr,
mask: u32,
},
Ip6 {
addr: Ipv6Addr,
mask: u128,
},
Exists {
macro_string: Macro,
},
}Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Mechanism
impl PartialEq for Mechanism
impl Eq for Mechanism
impl StructuralPartialEq for Mechanism
Auto Trait Implementations§
impl Freeze for Mechanism
impl RefUnwindSafe for Mechanism
impl Send for Mechanism
impl Sync for Mechanism
impl Unpin for Mechanism
impl UnwindSafe for Mechanism
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.