macro_rules! generate_unique_start_port {
() => { ... };
}
Expand description
Generates a unique offset, from which get_unique_free_port
will start to find free ports
incrementally. The value is higher than 1000, and less than u16::MAX - 1000
. It uses the full
module path and the enclosed function name, so it’s always the same for the scope of the same
function.