pub enum Socks5Addr {
Ipv4(Ipv4Addr),
Ipv6(Ipv6Addr),
Domain(Box<[u8]>),
}Variants§
Trait Implementations§
Source§impl Clone for Socks5Addr
impl Clone for Socks5Addr
Source§fn clone(&self) -> Socks5Addr
fn clone(&self) -> Socks5Addr
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 moreSource§impl Debug for Socks5Addr
impl Debug for Socks5Addr
Source§impl From<Socks5Addr> for u8
impl From<Socks5Addr> for u8
Source§fn from(val: Socks5Addr) -> Self
fn from(val: Socks5Addr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Socks5Addr
impl RefUnwindSafe for Socks5Addr
impl Send for Socks5Addr
impl Sync for Socks5Addr
impl Unpin for Socks5Addr
impl UnwindSafe for Socks5Addr
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