pub fn flush(buf: &mut BytesMut) -> Result<(), Error>
Encodes a Flush.
Flush
Returns Error::Encode if the message is larger than 2 GiB.
Error::Encode