pub struct System;Expand description
The probes of this machine: UDP queries, the resolver of the operating system and its configuration files.
Trait Implementations§
impl Copy for System
Source§impl Probes for System
impl Probes for System
Source§async fn query(
&self,
server: SocketAddr,
name: &str,
kind: Record,
) -> Result<Vec<IpAddr>, Failure>
async fn query( &self, server: SocketAddr, name: &str, kind: Record, ) -> Result<Vec<IpAddr>, Failure>
Asks
server for the records of kind of name.Source§async fn resolve(&self, name: &str) -> Result<Vec<IpAddr>, Failure>
async fn resolve(&self, name: &str) -> Result<Vec<IpAddr>, Failure>
Resolves
name like the programs of this machine do.Source§async fn client_config(&self) -> Option<ClientConfig>
async fn client_config(&self) -> Option<ClientConfig>
The resolver configuration of this machine,
None if unknown.Auto Trait Implementations§
impl Forget for System
impl Freeze for System
impl Move for System
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnsafeUnpin for System
impl UnwindSafe for System
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