Skip to main content

covers

Function covers 

Source
fn covers(listening: &SocketAddr, addr: &SocketAddr) -> bool
Expand description

Whether a listener on one address answers for another, which is the case when they name the same socket or the listener holds the wider wildcard.