Trait tokio_socks_unofficial::ToTargetAddr
[−]
[src]
pub trait ToTargetAddr { fn to_target_addr(&self) -> Result<TargetAddr>; }
Required Methods
fn to_target_addr(&self) -> Result<TargetAddr>
Implementations on Foreign Types
impl ToTargetAddr for SocketAddr
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl ToTargetAddr for SocketAddrV4
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl ToTargetAddr for SocketAddrV6
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl ToTargetAddr for (Ipv4Addr, u16)
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl ToTargetAddr for (Ipv6Addr, u16)
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl<'a> ToTargetAddr for (&'a str, u16)
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
impl<'a> ToTargetAddr for &'a str
[src]
fn to_target_addr(&self) -> Result<TargetAddr>
[src]
Implementors
impl ToTargetAddr for TargetAddr