Enum socks5_client::Socks5
source · pub enum Socks5 {
Initial(NetAddr<HostName>, bool),
Connected(NetAddr<HostName>),
Awaiting,
Reading(u8, u8),
Active(NetAddr<HostName>),
Rejected(ServerError, u8, u8),
Failed(Error),
}
Variants§
Initial(NetAddr<HostName>, bool)
Connected(NetAddr<HostName>)
Awaiting
Reading(u8, u8)
Active(NetAddr<HostName>)
Rejected(ServerError, u8, u8)
Failed(Error)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Socks5
impl !RefUnwindSafe for Socks5
impl Send for Socks5
impl Sync for Socks5
impl Unpin for Socks5
impl !UnwindSafe for Socks5
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