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