Enum socks5_impl::server::connection::ClientConnection
source · pub enum ClientConnection {
UdpAssociate(UdpAssociate<NeedReply>, Address),
Bind(Bind<NeedFirstReply>, Address),
Connect(Connect<NeedReply>, Address),
}
Expand description
After the socks5 handshake succeeds, the connection may become:
- Associate
- Bind
- Connect
Variants§
UdpAssociate(UdpAssociate<NeedReply>, Address)
Bind(Bind<NeedFirstReply>, Address)
Connect(Connect<NeedReply>, Address)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ClientConnection
impl Send for ClientConnection
impl Sync for ClientConnection
impl Unpin for ClientConnection
impl UnwindSafe for ClientConnection
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