pub struct Socks6Handler { /* private fields */ }
Expand description
Implements a SOCKS6 handler.
Implementations§
Source§impl Socks6Handler
impl Socks6Handler
Trait Implementations§
Source§impl Clone for Socks6Handler
impl Clone for Socks6Handler
Source§fn clone(&self) -> Socks6Handler
fn clone(&self) -> Socks6Handler
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for Socks6Handler
impl Default for Socks6Handler
Source§impl SocksHandler for Socks6Handler
impl SocksHandler for Socks6Handler
Source§fn accept_request<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn accept_request<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn refuse_request<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 mut TcpStream,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: '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
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for Socks6Handler
impl RefUnwindSafe for Socks6Handler
impl Send for Socks6Handler
impl Sync for Socks6Handler
impl Unpin for Socks6Handler
impl UnwindSafe for Socks6Handler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more