pub trait Connector {
type Connection: AsyncRead + AsyncWrite + Unpin;
// Required method
fn connect<'life0, 'async_trait>(
&'life0 self,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}