pub struct Socks5Request {
pub command: Socks5Command,
pub destination: Address,
}
Expand description
Represents a SOCKS5 request.
Fields§
§command: Socks5Command
§destination: Address
Implementations§
Trait Implementations§
Source§impl Clone for Socks5Request
impl Clone for Socks5Request
Source§fn clone(&self) -> Socks5Request
fn clone(&self) -> Socks5Request
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Socks5Request
impl RefUnwindSafe for Socks5Request
impl Send for Socks5Request
impl Sync for Socks5Request
impl Unpin for Socks5Request
impl UnwindSafe for Socks5Request
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