[][src]Crate amq_protocol_types

AMQP types manipulation library

amq-protocol-types is a library aiming at providing an implementation/abstraction around AMQP types.

It implements the list of the different kind of types available, a value holder and serialization.deserialization facilities.

Modules

flags

Helpers to handle AMQP flags.

generation

Generation utilities for the various AMQP types.

parsing

Parsing utilities for the various AMQP types.

Structs

ByteArray

An array of bytes (RabbitMQ specific)

DecimalValue

A Decimal value composed of a scale and a value

FieldArray

An array of AMQPValue

FieldTable

A Map<String, AMQPValue>

LongString

A String

ShortString

A String (deprecated)

Enums

AMQPType

Enumeration referencing all the available AMQP types

AMQPValue

Enumeration referencing the possible AMQP values depending on the types

Type Definitions

Boolean

A bool

ChannelId

A Channel identifier

ChunkSize

The size of a chunk of a delivery's payload

ConsumerCount

The number of consumers

DeliveryTag

A delivery tag

Double

A f64

Float

A f32

FrameSize

the size of an AMQP frame

Heartbeat

The maximum heartbeat interval

Identifier

An identifier (class id or method id)

LongInt

An i32

LongLongInt

An i64

LongLongUInt

A u64

LongUInt

A u32

MessageCount

The number of messages

PayloadSize

The size of a delivery's payload

ReplyCode

A reply code (for closing channels and connections)

ShortInt

An i16

ShortShortInt

An i8

ShortShortUInt

A u8

ShortUInt

A u16

Timestamp

A timestamp (u64)

Void

No value