pub trait PortAllocator: Debug + Send {
    // Required method
    fn next_port(&mut self, local_endpoint: SocketAddrV4) -> u16;
}

Required Methods§

source

fn next_port(&mut self, local_endpoint: SocketAddrV4) -> u16

Implementors§