pub fn send(&self, protocol_id: P, payload: R) -> bool {
        self.tx
            .send(MultiMessage {
                protocol_id,
                payload,
            })
            .is_ok()
    }
/// Wrap and send a multiplexed message.
///
/// Return `false` if the outgoing channel has already been closed.
Wrap and send a multiplexed message.
Return `false` if the outgoing channel has already been closed.
Wrap and send a multiplexed message . Return ` false ` if the outgoing channel has already been closed .
pub fn send(&self, protocol_id: P, payload: R) -> bool {
        self.tx
            .send(MultiMessage {
                protocol_id,
                payload,
            })
            .is_ok()
    }
pub fn send ( & self , protocol_id : P , payload : R ) -> bool { self . tx . send ( MultiMessage { protocol_id , payload , } ) . is_ok ( ) }
Wrap and send a multiplexed message.
Wrap and send a multiplexed message .
&self
protocol_id
P
payload
R