pub async fn plan<R: Resolve>(
resolver: &R,
target: &Target,
port: u16,
own_ports: &[u16],
) -> Result<Vec<SocketAddr>, u8>Expand description
The addresses a connection to target on port may go to, in the order to try them, or the SOCKS5 reply that
refuses it. Every address the name resolved to has to pass the policy, and only those are tried (a name that
answers ::1 and 127.0.0.1 reaches a development server on either).