pub fn remove_peer_by_key(self, public_key: &Key) -> Self {
        let mut peer = PeerConfigBuilder::new(public_key);
        peer.remove_me = true;
        self.add_peer(peer)
    }
/// Specifies that the peer with this public key should be removed from the interface.
Specifies that the peer with this public key should be removed from the interface.
Specifies that the peer with this public key should be removed from the interface .
pub fn remove_peer_by_key(self, public_key: &Key) -> Self {
        let mut peer = PeerConfigBuilder::new(public_key);
        peer.remove_me = true;
        self.add_peer(peer)
    }
pub fn remove_peer_by_key ( self , public_key : & Key ) -> Self { let mut peer = PeerConfigBuilder :: new ( public_key ) ; peer . remove_me = true ; self . add_peer ( peer ) }
Specifies that the peer with this public key should be removed from the interface.
Specifies that the peer with this public key should be removed from the interface .
self
public_key
&Key
self
public_key
&Key