Trait reserve_port::PortFinder
source · pub trait PortFinder {
// Required method
fn find_port_for_ip(
&mut self,
ip: IpAddr
) -> Option<(TcpListener, SocketAddr)>;
// Provided method
fn find_port(&mut self) -> Option<u16> { ... }
}