pub(super) fn write_frame<Stream>(&mut self, stream: &mut Stream, frame: Frame) -> Result<()>
    where
        Stream: Write,
    {
        trace!("writing frame {}", frame);
        self.out_buffer.reserve(frame.len());
        frame.format(&mut self.out_buffer).expect("Bug: can't write to vector");
        self.write_pending(stream)
    }
/// Write a frame to the provided stream.
Write a frame to the provided stream.
Write a frame to the provided stream .
pub(super) fn write_frame<Stream>(&mut self, stream: &mut Stream, frame: Frame) -> Result<()>
    where
        Stream: Write,
    {
        trace!("writing frame {}", frame);
        self.out_buffer.reserve(frame.len());
        frame.format(&mut self.out_buffer).expect("Bug: can't write to vector");
        self.write_pending(stream)
    }
pub ( super ) fn write_frame < Stream > ( & mut self , stream : & mut Stream , frame : Frame ) -> Result < ( ) > where Stream : Write , { trace ! ( " " frame ) ; self . out_buffer . reserve ( frame . len ( ) ) ; frame . format ( & mut self . out_buffer ) . expect ( " " ) ; self . write_pending ( stream ) }
Write a frame to the provided stream.
Write a frame to the provided stream .
&mut self
stream
&mut Stream
frame
Frame
&mut self
stream
&mut Stream
frame
Frame