#[repr(u8)]pub enum SocksError {
NoError = 0,
UnsupportedVersion = 1,
UnsupportedAuthenticationMethod = 2,
UnsupportedAuthenticationVersion = 3,
AuthenticationError = 4,
UsernameRequired = 5,
GeneralFailure = 6,
CommandNotSupported = 7,
NoIdentd = 8,
IdentdError = 9,
}Variants§
NoError = 0
UnsupportedVersion = 1
UnsupportedAuthenticationMethod = 2
UnsupportedAuthenticationVersion = 3
AuthenticationError = 4
UsernameRequired = 5
GeneralFailure = 6
CommandNotSupported = 7
NoIdentd = 8
IdentdError = 9
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocksError
impl RefUnwindSafe for SocksError
impl Send for SocksError
impl Sync for SocksError
impl Unpin for SocksError
impl UnwindSafe for SocksError
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