Enum metalmq_codec::frame::AMQPFrame[][src]

pub enum AMQPFrame {
    Header,
    Method(ChannelClassMethodMethodFrameArgs),
    ContentHeader(ContentHeaderFrame),
    ContentBody(ContentBodyFrame),
    Heartbeat(Channel),
}
Expand description

Represents an AMQP frame.

Variants

Header

Header is to be sent to the server at first, announcing the AMQP version we support

Represents the AMQP RPC frames. Connection based calls have a channel number 0, otherwise channel is the current channel on which the frames are sent. The RPC arguments are represented in MethodFrameArgs.

ContentHeader(ContentHeaderFrame)
ContentBody(ContentBodyFrame)
Heartbeat(Channel)

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.