Skip to main content

find_existing

Function find_existing 

Source
fn find_existing<'a>(
    instances: &'a mut HashMap<String, LanInstance>,
    peer: &UdpPeer,
) -> Option<(&'a String, &'a mut LanInstance)>
Expand description

The same peer as peer already in the table, by the one identity that is unique on a LAN: the address it answers on and the port it serves.