pub enum AMQPFrame {
Header,
Method(Channel, ClassMethod, MethodFrameArgs),
ContentHeader(ContentHeaderFrame),
ContentBody(ContentBodyFrame),
Heartbeat(Channel),
}Expand description
Represents an AMQP frame.
Variants§
Header
Method(Channel, ClassMethod, MethodFrameArgs)
ContentHeader(ContentHeaderFrame)
ContentBody(ContentBodyFrame)
Heartbeat(Channel)
Trait Implementations§
Source§impl From<ContentBodyFrame> for AMQPFrame
impl From<ContentBodyFrame> for AMQPFrame
Source§fn from(cbf: ContentBodyFrame) -> AMQPFrame
fn from(cbf: ContentBodyFrame) -> AMQPFrame
Converts to this type from the input type.
Source§impl From<ContentHeaderFrame> for AMQPFrame
impl From<ContentHeaderFrame> for AMQPFrame
Source§fn from(chf: ContentHeaderFrame) -> AMQPFrame
fn from(chf: ContentHeaderFrame) -> AMQPFrame
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AMQPFrame
impl RefUnwindSafe for AMQPFrame
impl Send for AMQPFrame
impl Sync for AMQPFrame
impl Unpin for AMQPFrame
impl UnsafeUnpin 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