fn should_keep_peer( expected: &StreamProtocol, peer_protocols: &[StreamProtocol], ) -> bool
A peer’s network is identifiable only by its advertised kademlia StreamProtocol.
StreamProtocol