[][src]Function amq_protocol::types::generation::gen_type

pub fn gen_type(
    x: (&'a mut [u8], usize),
    t: &AMQPType
) -> Result<(&'a mut [u8], usize), GenError>

Generate the AMQPType in the given buffer (x)