lapin_async::types::generation
pub fn gen_value( x: &'a mut [u8], v: &'a AMQPValue) -> Result<&'a mut [u8], GenError>
Generate the AMQPValue preceded with its AMQPType in the given buffer (x)