cdns_rs/
network_common.rs

1use std::net::SocketAddr;
2
3/// A common items for bot sync and async. Shhould be implemented
4/// by each instance.
5pub trait SocketTapCommon
6{
7    /// Returns the remote host Ip and port.
8    fn get_remote_addr(&self) -> &SocketAddr;
9}