get_endpoint_for_target

Function get_endpoint_for_target 

Source
async fn get_endpoint_for_target(target: SocketAddr) -> Result<Endpoint>
Expand description

Get an endpoint suitable for dialing the given target address. If no matching endpoint exist, creates a new one.