[−][src]Trait tokio_socks::IntoTargetAddr
A trait for objects that can be converted to TargetAddr
.
Required methods
fn into_target_addr(self) -> Result<TargetAddr<'a>>
Converts the value of self to a TargetAddr
.
Implementations on Foreign Types
impl<'a> IntoTargetAddr<'a> for SocketAddr
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for (IpAddr, u16)
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for (Ipv4Addr, u16)
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for (Ipv6Addr, u16)
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for SocketAddrV4
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for SocketAddrV6
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for (&'a str, u16)
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl<'a> IntoTargetAddr<'a> for &'a str
[src]
fn into_target_addr(self) -> Result<TargetAddr<'a>>
[src]
impl IntoTargetAddr<'static> for String
[src]
fn into_target_addr(self) -> Result<TargetAddr<'static>>
[src]
impl IntoTargetAddr<'static> for (String, u16)
[src]
fn into_target_addr(self) -> Result<TargetAddr<'static>>
[src]
impl<'a, T> IntoTargetAddr<'a> for &'a T where
T: IntoTargetAddr<'a> + Copy,
[src]
T: IntoTargetAddr<'a> + Copy,