pub struct Purge {
pub ticket: u16,
pub queue: String,
pub nowait: bool,
}Fields§
§ticket: u16§queue: String§nowait: boolTrait Implementations§
Source§impl Method for Purge
impl Method for Purge
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 Purge
impl StructuralPartialEq for Purge
Auto Trait Implementations§
impl Freeze for Purge
impl RefUnwindSafe for Purge
impl Sync for Purge
impl Unpin for Purge
impl UnwindSafe for Purge
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