Enum socks5_server::connection::Command
source · pub enum Command {
Associate(Associate<NeedReply>, Address),
Bind(Bind<NeedFirstReply>, Address),
Connect(Connect<NeedReply>, Address),
}Expand description
A command sent from the SOCKS5 client.
Variants§
Associate(Associate<NeedReply>, Address)
Bind(Bind<NeedFirstReply>, Address)
Connect(Connect<NeedReply>, Address)
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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