Enum amq_protocol::frame::AMQPFrame [−][src]
pub enum AMQPFrame {
ProtocolHeader(ProtocolVersion),
Method(ChannelId, AMQPClass),
Header(ChannelId, Identifier, Box<AMQPContentHeader>),
Body(ChannelId, Vec<u8>),
Heartbeat(ChannelId),
}
Expand description
The different possible frames
Variants
ProtocolHeader(ProtocolVersion)
Tuple Fields
Protocol header frame
Method(ChannelId, AMQPClass)
Method call
Header(ChannelId, Identifier, Box<AMQPContentHeader>)
Content header
Body(ChannelId, Vec<u8>)
Content body
Heartbeat(ChannelId)
Tuple Fields
0: ChannelId
Heartbeat frame
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AMQPFrame
impl UnwindSafe for AMQPFrame
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more