Enum amq_protocol::frame::AMQPFrame
source · 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)
Protocol header frame
Method(ChannelId, AMQPClass)
Method call
Header(ChannelId, Identifier, Box<AMQPContentHeader>)
Content header
Body(ChannelId, Vec<u8>)
Content body
Heartbeat(ChannelId)
Heartbeat frame
Implementations§
Trait Implementations§
source§impl PartialEq for AMQPFrame
impl PartialEq for AMQPFrame
impl StructuralPartialEq for AMQPFrame
Auto Trait Implementations§
impl Freeze for AMQPFrame
impl RefUnwindSafe for AMQPFrame
impl Send for AMQPFrame
impl Sync for AMQPFrame
impl Unpin for AMQPFrame
impl UnwindSafe for AMQPFrame
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more