pub fn push(&mut self, message: RequestOrResponse) {
        self.size_bytes += message.count_bytes();
        self.messages.push(message);
        debug_assert_eq!(Self::size_bytes(&self.messages), self.size_bytes);
    }
/// Appends the given message to the tail of the stream.
Appends the given message to the tail of the stream.
Appends the given message to the tail of the stream .
pub fn push(&mut self, message: RequestOrResponse) {
        self.size_bytes += message.count_bytes();
        self.messages.push(message);
        debug_assert_eq!(Self::size_bytes(&self.messages), self.size_bytes);
    }
pub fn push ( & mut self , message : RequestOrResponse ) { self . size_bytes += message . count_bytes ( ) ; self . messages . push ( message ) ; debug_assert_eq ! ( Self size_bytes ( self messages ) self size_bytes ) ; }
Appends the given message to the tail of the stream.
Appends the given message to the tail of the stream .
&mut self
message
RequestOrResponse
&mut self
message
RequestOrResponse