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§
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.