pub enum ResolverType {
DNS,
}Expand description
Type of resolver to use
Variants§
DNS
DNS resolver using DNS-over-TCP
Trait Implementations§
Source§impl Clone for ResolverType
impl Clone for ResolverType
Source§fn clone(&self) -> ResolverType
fn clone(&self) -> ResolverType
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 ResolverType
Source§impl Debug for ResolverType
impl Debug for ResolverType
impl Eq for ResolverType
Source§impl PartialEq for ResolverType
impl PartialEq for ResolverType
Source§fn eq(&self, other: &ResolverType) -> bool
fn eq(&self, other: &ResolverType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolverType
Auto Trait Implementations§
impl Freeze for ResolverType
impl RefUnwindSafe for ResolverType
impl Send for ResolverType
impl Sync for ResolverType
impl Unpin for ResolverType
impl UnsafeUnpin for ResolverType
impl UnwindSafe for ResolverType
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