Trait fast_socks5::util::target_addr::ToTargetAddr
source · pub trait ToTargetAddr {
// Required method
fn to_target_addr(&self) -> Result<TargetAddr>;
}
Expand description
A trait for objects that can be converted to TargetAddr
.
Required Methods§
sourcefn to_target_addr(&self) -> Result<TargetAddr>
fn to_target_addr(&self) -> Result<TargetAddr>
Converts the value of self
to a TargetAddr
.