pub fn flush<R,V>(&mut self,
                      mut out_buf: R) -> Result<usize, OssuaryError>
    where R: std::ops::DerefMut<Target = V>,
          V: std::io::Write {
        return write_stored_packet(self, out_buf.deref_mut());
    }
/// Write any cached encrypted data waiting to be sent
///
/// If a previous call to [`OssuaryConnection::send_data`] was unable to
/// write out all of its data, the remaining data is cached internally.  It
/// can be explicitly flushed by calling this function until it returns 0.
///
/// After each call, it is the caller's responsibility to put the written
/// data onto the network, unless `out_buf` is an object that handles that
/// implicitly, such as a TcpStream.
Write any cached encrypted data waiting to be sent
If a previous call to [`OssuaryConnection::send_data`] was unable to
write out all of its data, the remaining data is cached internally.  It
can be explicitly flushed by calling this function until it returns 0.

After each call, it is the caller's responsibility to put the written
data onto the network, unless `out_buf` is an object that handles that
implicitly, such as a TcpStream.
Write any cached encrypted data waiting to be sent If a previous call to [ ` OssuaryConnection :: send_data ` ] was unable to write out all of its data the remaining data is cached internally . It can be explicitly flushed by calling this function until it returns 0 . After each call it is the caller ' s responsibility to put the written data onto the network unless ` out_buf ` is an object that handles that implicitly such as a TcpStream .
pub fn flush<R,V>(&mut self,
                      mut out_buf: R) -> Result<usize, OssuaryError>
    where R: std::ops::DerefMut<Target = V>,
          V: std::io::Write {
        return write_stored_packet(self, out_buf.deref_mut());
    }
pub fn flush < R , V > ( & mut self , mut out_buf : R ) -> Result < usize , OssuaryError > where R : std :: ops :: DerefMut < Target = V > , V : std :: io :: Write { return write_stored_packet ( self , out_buf . deref_mut ( ) ) ; }
Write any cached encrypted data waiting to be sent
If a previous call to [`OssuaryConnection::send_data`] was unable to
write out all of its data, the remaining data is cached internally.
Write any cached encrypted data waiting to be sent If a previous call to [ ` OssuaryConnection :: send_data ` ] was unable to write out all of its data the remaining data is cached internally .
&mut self
out_buf
R
&mut self
out_buf
R