[][src]Module amq_protocol_types::generation

Generation utilities for the various AMQP types.

Enums

GenError

Serialization types and traits Base type for generator errors

Traits

BackToTheBuffer

Serialization types and traits Trait for Write types that allow skipping and reserving a slice, then writing some data, then write something in the slice we reserved using the return for our data write.

SerializeFn

Serialization types and traits Trait for serializing functions

Functions

gen_boolean

Generate the Boolean in the given buffer (x)

gen_byte_array

Generate the ByteArray in the given buffer (x)

gen_decimal_value

Generate the DecimalValue in the given buffer (x)

gen_double

Generate the Double in the given buffer (x)

gen_field_array

Generate the FieldArray in the given buffer (x)

gen_field_table

Generate the FieldTable in the given buffer (x)

gen_flags

Generate the AMQPFlags in the given buffer (x)

gen_float

Generate the Float in the given buffer (x)

gen_id

Generate the id (ShortUInt) in the given buffer (x)

gen_long_int

Generate the LongInt in the given buffer (x)

gen_long_long_int

Generate the LongLongInt in the given buffer (x)

gen_long_long_uint

Generate the LongLongUInt in the given buffer (x)

gen_long_string

Generate the LongString in the given buffer (x)

gen_long_uint

Generate the LongUInt in the given buffer (x)

gen_raw_value

Generate the AMQPValue in the given buffer (x)

gen_short_int

Generate the ShortInt in the given buffer (x)

gen_short_short_int

Generate the ShortShortInt in the given buffer (x)

gen_short_short_uint

Generate the ShortShortUInt in the given buffer (x)

gen_short_string

Generate the ShortString in the given buffer (x)

gen_short_uint

Generate the ShortUInt in the given buffer (x)

gen_timestamp

Generate the Timestamp in the given buffer (x)

gen_type

Generate the AMQPType in the given buffer (x)

gen_value

Generate the AMQPValue preceded with its AMQPType in the given buffer (x)

gen_with_len

Apply a generator and serialize its length at the beginning of buffer

Type Definitions

GenResult

Serialization types and traits Holds the result of serializing functions