pub trait SocksHandler {
fn accept_request<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn refuse_request<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn setup<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<TcpStream>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}