Trait socks5_server::auth::Auth
source · [−]pub trait Auth {
fn as_handshake_method(&self) -> HandshakeMethod;
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
stream: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}