find_available_port_in_range

Function find_available_port_in_range 

Source
pub fn find_available_port_in_range<R>(
    range: R,
    local_address_type: LocalAddressType,
) -> Option<u16>
where R: ExactSizeIterator<Item = u16>,
Expand description

finds an available port within a range