pub fn send_message(&mut self, data: TMessage)
	where TMessage: CustomMessage {
		if self.is_closing {
			return
		}

		self.send_queue.push_back(data.into_bytes());
	}
/// Sends a message to the substream.
Sends a message to the substream.
Sends a message to the substream .
pub fn send_message(&mut self, data: TMessage)
	where TMessage: CustomMessage {
		if self.is_closing {
			return
		}
		self.send_queue.push_back(data.into_bytes());
	}
pub fn send_message ( & mut self , data : TMessage ) where TMessage : CustomMessage { if self . is_closing { return } self . send_queue . push_back ( data . into_bytes ( ) ) ; }
Sends a message to the substream.
Sends a message to the substream .
&mut self
data
TMessage
&mut self
data
TMessage