pub fn send_to(
        &mut self,
        recipient: PeerId,
        message: ConsensusMsg<T>,
    ) -> Result<(), NetworkError> {
        let protocol = ProtocolId::ConsensusDirectSend;
        self.network_sender.send_to(recipient, protocol, message)
    }
/// Send a single message to the destination peer using the `CONSENSUS_DIRECT_SEND_PROTOCOL`
/// ProtocolId.
Send a single message to the destination peer using the `CONSENSUS_DIRECT_SEND_PROTOCOL`
ProtocolId.
Send a single message to the destination peer using the ` CONSENSUS_DIRECT_SEND_PROTOCOL ` ProtocolId .
pub fn send_to(
        &mut self,
        recipient: PeerId,
        message: ConsensusMsg<T>,
    ) -> Result<(), NetworkError> {
        let protocol = ProtocolId::ConsensusDirectSend;
        self.network_sender.send_to(recipient, protocol, message)
    }
pub fn send_to ( & mut self , recipient : PeerId , message : ConsensusMsg < T > , ) -> Result < ( ) , NetworkError > { let protocol = ProtocolId :: ConsensusDirectSend ; self . network_sender . send_to ( recipient , protocol , message ) }
Send a single message to the destination peer using the `CONSENSUS_DIRECT_SEND_PROTOCOL`
ProtocolId.
Send a single message to the destination peer using the ` CONSENSUS_DIRECT_SEND_PROTOCOL ` ProtocolId .
&mut self
recipient
PeerId
message
ConsensusMsg<T>
&mut self
recipient
PeerId
message
ConsensusMsg<T>