pub struct ResolveConfEntry { /* private fields */ }
Expand description
A resolve.conf parser
Implementations§
Source§impl ResolveConfEntry
impl ResolveConfEntry
pub fn get_resolver_ip(&self) -> &IpAddr
pub fn get_adapter_ip(&self) -> &SocketAddr
Trait Implementations§
Source§impl Clone for ResolveConfEntry
impl Clone for ResolveConfEntry
Source§fn clone(&self) -> ResolveConfEntry
fn clone(&self) -> ResolveConfEntry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ResolveConfEntry
impl RefUnwindSafe for ResolveConfEntry
impl Send for ResolveConfEntry
impl Sync for ResolveConfEntry
impl Unpin for ResolveConfEntry
impl UnwindSafe for ResolveConfEntry
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