pub struct Nack {
pub delivery_tag: u64,
pub multiple: bool,
pub requeue: bool,
}
Fields§
§delivery_tag: u64
§multiple: bool
§requeue: bool
Trait Implementations§
Source§impl Method for Nack
impl Method for Nack
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 Nack
impl StructuralPartialEq for Nack
Auto Trait Implementations§
impl Freeze for Nack
impl RefUnwindSafe for Nack
impl Sync for Nack
impl Unpin for Nack
impl UnwindSafe for Nack
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