pub enum BuildSocksKind {
InvalidUsername,
InvalidPassword,
InvalidAuthMethod,
}Expand description
Errors of building SOCKS5 client or server
Variants§
InvalidUsername
invalid username, length(byte) of username is 0 or greater than 255
InvalidPassword
invalid password, length(byte) of password is 0 or greater than 255
InvalidAuthMethod
invalid auth method, neither NO AUTHENTICATION REQUIRED nor USERNAME/PASSWORD is specified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildSocksKind
impl RefUnwindSafe for BuildSocksKind
impl Send for BuildSocksKind
impl Sync for BuildSocksKind
impl Unpin for BuildSocksKind
impl UnwindSafe for BuildSocksKind
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