Enum socks5_impl::server::connection::Connection
source · pub enum Connection {
Associate(Associate<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§
Associate(Associate<NeedReply>, Address)
Bind(Bind<NeedFirstReply>, Address)
Connect(Connect<NeedReply>, Address)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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