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