pub fn send_custom_message(
		&mut self,
		peer_id: &PeerId,
		message: TMessage
	) {
		self.swarm.send_custom_message(peer_id, message);
	}
/// Sends a message to a peer using the custom protocol.
///
/// Has no effect if the connection to the node has been closed, or if the node index is
/// invalid.
Sends a message to a peer using the custom protocol.
Has no effect if the connection to the node has been closed, or if the node index is
invalid.
Sends a message to a peer using the custom protocol . Has no effect if the connection to the node has been closed or if the node index is invalid .
pub fn send_custom_message(
		&mut self,
		peer_id: &PeerId,
		message: TMessage
	) {
		self.swarm.send_custom_message(peer_id, message);
	}
pub fn send_custom_message ( & mut self , peer_id : & PeerId , message : TMessage ) { self . swarm . send_custom_message ( peer_id , message ) ; }
Sends a message to a peer using the custom protocol.
Sends a message to a peer using the custom protocol .
&mut self
peer_id
&PeerId
message
TMessage
&mut self
peer_id
&PeerId
message
TMessage