[][src]Function amq_protocol_types::generation::gen_type

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

Generate the AMQPType in the given buffer (x)