Struct amq_protocol::frame::AMQPRawFrame
source · pub struct AMQPRawFrame<I: ParsableInput> {
pub frame_type: AMQPFrameType,
pub channel_id: ChannelId,
pub payload: I,
}
Expand description
Raw AMQP Frame
Fields§
§frame_type: AMQPFrameType
The type of frame
channel_id: ChannelId
The id this frame was received on
payload: I
The payload of the frame
Trait Implementations§
source§impl<I: Clone + ParsableInput> Clone for AMQPRawFrame<I>
impl<I: Clone + ParsableInput> Clone for AMQPRawFrame<I>
source§fn clone(&self) -> AMQPRawFrame<I>
fn clone(&self) -> AMQPRawFrame<I>
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<I: Debug + ParsableInput> Debug for AMQPRawFrame<I>
impl<I: Debug + ParsableInput> Debug for AMQPRawFrame<I>
source§impl<I: PartialEq + ParsableInput> PartialEq for AMQPRawFrame<I>
impl<I: PartialEq + ParsableInput> PartialEq for AMQPRawFrame<I>
source§fn eq(&self, other: &AMQPRawFrame<I>) -> bool
fn eq(&self, other: &AMQPRawFrame<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<I: Copy + ParsableInput> Copy for AMQPRawFrame<I>
impl<I: Eq + ParsableInput> Eq for AMQPRawFrame<I>
impl<I: ParsableInput> StructuralPartialEq for AMQPRawFrame<I>
Auto Trait Implementations§
impl<I> Freeze for AMQPRawFrame<I>where
I: Freeze,
impl<I> RefUnwindSafe for AMQPRawFrame<I>where
I: RefUnwindSafe,
impl<I> Send for AMQPRawFrame<I>where
I: Send,
impl<I> Sync for AMQPRawFrame<I>where
I: Sync,
impl<I> Unpin for AMQPRawFrame<I>where
I: Unpin,
impl<I> UnwindSafe for AMQPRawFrame<I>where
I: UnwindSafe,
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