Struct isahc::config::ResolveMap
source · pub struct ResolveMap(_);
Expand description
A mapping of host and port pairs to IP addresses.
Entries added to this map can be used to override how DNS is resolved for a request and use specific IP addresses instead of using the default name resolver.
Implementations
Trait Implementations
sourceimpl Clone for ResolveMap
impl Clone for ResolveMap
sourcefn clone(&self) -> ResolveMap
fn clone(&self) -> ResolveMap
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 moresourceimpl Debug for ResolveMap
impl Debug for ResolveMap
sourceimpl Default for ResolveMap
impl Default for ResolveMap
sourcefn default() -> ResolveMap
fn default() -> ResolveMap
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResolveMap
impl Send for ResolveMap
impl Sync for ResolveMap
impl Unpin for ResolveMap
impl UnwindSafe for ResolveMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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