/// Remove the peer from the set of valid neighbors, and tear down the
/// queues and connections for the peer. Any messages in the Tx and Rx
/// queues for the peer will be discarded.
Remove the peer from the set of valid neighbors, and tear down the
queues and connections for the peer. Any messages in the Tx and Rx
queues for the peer will be discarded.
Remove the peer from the set of valid neighbors and tear down the queues and connections for the peer . Any messages in the Tx and Rx queues for the peer will be discarded .
fn stop_connections(
        &self,
        _client_type: TransportClientType,
        peer_id: &NodeId,
        _registry_version: RegistryVersion,
    ) -> Result<(), TransportErrorCode> {
        info!(
            self.log,
            "Node{} -> Connections to peer {} stopped", self.id, *peer_id
        );
        Ok(())
    }
fn stop_connections ( & self , _client_type : TransportClientType , peer_id : & NodeId , _registry_version : RegistryVersion , ) -> Result < ( ) , TransportErrorCode > { info ! ( self log " " self id peer_id ) ; Ok ( ( ) ) }
Remove the peer from the set of valid neighbors, and tear down the
queues and connections for the peer.
Remove the peer from the set of valid neighbors and tear down the queues and connections for the peer .
&self
_client_type
TransportClientType
peer_id
&NodeId
_registry_version
RegistryVersion