pub enum Method {
NoAuth,
Gssapi,
Auth,
Other(u8),
NoAcceptable,
}Expand description
A socks5 method.
Variants§
NoAuth
No authentication.
Gssapi
Gssapi authentication.
Auth
Username/Password authentication.
Other(u8)
Other methods.
NoAcceptable
No acceptable method found.
Trait Implementations§
impl Copy for Method
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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