#[repr(C)]pub enum ArgDns {
Virtual = 0,
OverTcp = 1,
Direct = 2,
}Expand description
DNS query handling strategy
- Virtual: Use a virtual DNS server to handle DNS queries, also known as Fake-IP mode
- OverTcp: Use TCP to send DNS queries to the DNS server
- Direct: Do not handle DNS by relying on DNS server bypassing
Variants§
Trait Implementations§
impl Copy for ArgDns
Source§impl<'de> Deserialize<'de> for ArgDns
impl<'de> Deserialize<'de> for ArgDns
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ArgDns
Source§impl Ord for ArgDns
impl Ord for ArgDns
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ArgDns
impl PartialOrd for ArgDns
impl StructuralPartialEq for ArgDns
Auto Trait Implementations§
impl Freeze for ArgDns
impl RefUnwindSafe for ArgDns
impl Send for ArgDns
impl Sync for ArgDns
impl Unpin for ArgDns
impl UnsafeUnpin for ArgDns
impl UnwindSafe for ArgDns
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