Enum resolv_conf::Lookup
source · [−]pub enum Lookup {
File,
Bind,
Extra(String),
}
Expand description
The databases that should be searched during a lookup. This option is commonly found on openbsd.
Variants
File
Search for entries in /etc/hosts
Bind
Query a domain name server
Extra(String)
A database we don’t know yet
Trait Implementations
impl Eq for Lookup
impl StructuralEq for Lookup
impl StructuralPartialEq for Lookup
Auto Trait Implementations
impl RefUnwindSafe for Lookup
impl Send for Lookup
impl Sync for Lookup
impl Unpin for Lookup
impl UnwindSafe for Lookup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more