cdns-rs 1.2.2

A native Sync/Async Rust implementation of client DNS resolver.
Documentation
1
2
3
4
5
6
7
8
9
use std::net::SocketAddr;

/// A common items for bot sync and async. Shhould be implemented
/// by each instance.
pub trait SocketTapCommon
{
    /// Returns the remote host Ip and port.
    fn get_remote_addr(&self) -> &SocketAddr;
}