pub enum Socks5Command {
Connect,
Bind,
UdpAssociate,
}Expand description
Parsed SOCKS5 command.
Variants§
Trait Implementations§
Source§impl Clone for Socks5Command
impl Clone for Socks5Command
Source§fn clone(&self) -> Socks5Command
fn clone(&self) -> Socks5Command
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Socks5Command
Source§impl Debug for Socks5Command
impl Debug for Socks5Command
impl Eq for Socks5Command
Source§impl PartialEq for Socks5Command
impl PartialEq for Socks5Command
impl StructuralPartialEq for Socks5Command
Auto Trait Implementations§
impl Freeze for Socks5Command
impl RefUnwindSafe for Socks5Command
impl Send for Socks5Command
impl Sync for Socks5Command
impl Unpin for Socks5Command
impl UnsafeUnpin for Socks5Command
impl UnwindSafe for Socks5Command
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