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