pub enum ResolutionSource {
Query,
Cache,
ExpiredCache,
Unknown(i32),
}Expand description
DNS resolution source used during connection establishment.
Variants§
Trait Implementations§
Source§impl Clone for ResolutionSource
impl Clone for ResolutionSource
Source§fn clone(&self) -> ResolutionSource
fn clone(&self) -> ResolutionSource
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 ResolutionSource
Source§impl Debug for ResolutionSource
impl Debug for ResolutionSource
impl Eq for ResolutionSource
Source§impl PartialEq for ResolutionSource
impl PartialEq for ResolutionSource
Source§fn eq(&self, other: &ResolutionSource) -> bool
fn eq(&self, other: &ResolutionSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolutionSource
Auto Trait Implementations§
impl Freeze for ResolutionSource
impl RefUnwindSafe for ResolutionSource
impl Send for ResolutionSource
impl Sync for ResolutionSource
impl Unpin for ResolutionSource
impl UnsafeUnpin for ResolutionSource
impl UnwindSafe for ResolutionSource
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