Struct socks5_server::auth::NoAuth
source · [−]pub struct NoAuth;Expand description
No authentication as the socks5 handshake method.
Implementations
Trait Implementations
sourceimpl Auth for NoAuth
impl Auth for NoAuth
sourcefn as_handshake_method(&self) -> HandshakeMethod
fn as_handshake_method(&self) -> HandshakeMethod
Returns the code for identifying the authentication method in the socks5 handshake header.
sourcefn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 mut TcpStream
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
The asynchronous authentication procedure on the given stream. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoAuth
impl Send for NoAuth
impl Sync for NoAuth
impl Unpin for NoAuth
impl UnwindSafe for NoAuth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more