Enum amq_protocol::frame::AMQPFrameType
source · pub enum AMQPFrameType {
ProtocolHeader,
Method,
Header,
Body,
Heartbeat,
}
Expand description
The type of AMQP Frame
Variants§
ProtocolHeader
The Protocol Header,
Method
Call a method
Header
Content header
Body
Content body
Heartbeat
Heartbeat frame
Trait Implementations§
source§impl Clone for AMQPFrameType
impl Clone for AMQPFrameType
source§fn clone(&self) -> AMQPFrameType
fn clone(&self) -> AMQPFrameType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AMQPFrameType
impl Debug for AMQPFrameType
source§impl PartialEq for AMQPFrameType
impl PartialEq for AMQPFrameType
source§fn eq(&self, other: &AMQPFrameType) -> bool
fn eq(&self, other: &AMQPFrameType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AMQPFrameType
impl Eq for AMQPFrameType
impl StructuralPartialEq for AMQPFrameType
Auto Trait Implementations§
impl Freeze for AMQPFrameType
impl RefUnwindSafe for AMQPFrameType
impl Send for AMQPFrameType
impl Sync for AMQPFrameType
impl Unpin for AMQPFrameType
impl UnwindSafe for AMQPFrameType
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