pub struct Deliver {
pub consumer_tag: String,
pub delivery_tag: u64,
pub redelivered: bool,
pub exchange: String,
pub routing_key: String,
}Fields§
§consumer_tag: String§delivery_tag: u64§redelivered: bool§exchange: String§routing_key: StringTrait Implementations§
Source§impl Method for Deliver
impl Method for Deliver
fn decode(method_frame: MethodFrame) -> Result<Self>where
Self: Sized,
fn encode(&self) -> Result<EncodedMethod>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload>
fn to_frame(&self, channel: u16) -> Result<Frame>
impl Send for Deliver
impl StructuralPartialEq for Deliver
Auto Trait Implementations§
impl Freeze for Deliver
impl RefUnwindSafe for Deliver
impl Sync for Deliver
impl Unpin for Deliver
impl UnwindSafe for Deliver
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