Struct dns_resolver::ResolvConf
source · [−]pub struct ResolvConf {
pub servers: Vec<ServerConf>,
pub options: ResolvOptions,
}Fields
servers: Vec<ServerConf>options: ResolvOptionsImplementations
sourceimpl ResolvConf
impl ResolvConf
sourceimpl ResolvConf
impl ResolvConf
Trait Implementations
sourceimpl Clone for ResolvConf
impl Clone for ResolvConf
sourcefn clone(&self) -> ResolvConf
fn clone(&self) -> ResolvConf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResolvConf
impl Debug for ResolvConf
Auto Trait Implementations
impl RefUnwindSafe for ResolvConf
impl Send for ResolvConf
impl Sync for ResolvConf
impl Unpin for ResolvConf
impl UnwindSafe for ResolvConf
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<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
sourcefn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
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