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 !Freeze for ClientConnection
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