pub struct SocksRequest {
pub destination: SocksRequestAddress,
pub port: u16,
}Expand description
A socks5 request’s destination, including the address and port.
Fields§
§destination: SocksRequestAddress§port: u16Implementations§
Trait Implementations§
Source§impl ByteRead for SocksRequest
impl ByteRead for SocksRequest
Auto Trait Implementations§
impl Freeze for SocksRequest
impl RefUnwindSafe for SocksRequest
impl Send for SocksRequest
impl Sync for SocksRequest
impl Unpin for SocksRequest
impl UnwindSafe for SocksRequest
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