Struct amq_protocol::frame::AMQPRawFrame
source · pub struct AMQPRawFrame<'a> {
pub frame_type: AMQPFrameType,
pub channel_id: ShortUInt,
pub size: LongUInt,
pub payload: &'a [u8],
}
Expand description
Raw AMQP Frame
Fields
frame_type: AMQPFrameType
The type of frame
channel_id: ShortUInt
The id this frame was received on
size: LongUInt
The size of the frame
payload: &'a [u8]
The paylaod of the frame
Trait Implementations
sourceimpl<'a> Clone for AMQPRawFrame<'a>
impl<'a> Clone for AMQPRawFrame<'a>
sourcefn clone(&self) -> AMQPRawFrame<'a>
fn clone(&self) -> AMQPRawFrame<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for AMQPRawFrame<'a>
impl<'a> Debug for AMQPRawFrame<'a>
sourceimpl<'a> PartialEq<AMQPRawFrame<'a>> for AMQPRawFrame<'a>
impl<'a> PartialEq<AMQPRawFrame<'a>> for AMQPRawFrame<'a>
sourcefn eq(&self, other: &AMQPRawFrame<'a>) -> bool
fn eq(&self, other: &AMQPRawFrame<'a>) -> bool
impl<'a> Copy for AMQPRawFrame<'a>
impl<'a> Eq for AMQPRawFrame<'a>
impl<'a> StructuralEq for AMQPRawFrame<'a>
impl<'a> StructuralPartialEq for AMQPRawFrame<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AMQPRawFrame<'a>
impl<'a> Send for AMQPRawFrame<'a>
impl<'a> Sync for AMQPRawFrame<'a>
impl<'a> Unpin for AMQPRawFrame<'a>
impl<'a> UnwindSafe for AMQPRawFrame<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more