pub struct UserKeyAuth { /* private fields */ }
Expand description
Username and password as the socks5 handshake method.
Implementations§
Trait Implementations§
Source§impl AuthExecutor for UserKeyAuth
impl AuthExecutor for UserKeyAuth
type Output = Result<bool, Error>
fn auth_method(&self) -> AuthMethod
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
stream: &'life1 mut TcpStream,
) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for UserKeyAuth
impl RefUnwindSafe for UserKeyAuth
impl Send for UserKeyAuth
impl Sync for UserKeyAuth
impl Unpin for UserKeyAuth
impl UnwindSafe for UserKeyAuth
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