pub trait CSTraitClient: Send + Sync {
type Connection: CSTraitClientConnection;
// Required methods
fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
addr: SocketAddr,
server_name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Self::Connection>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn local_addr(&self) -> SocketAddr;
}