pub struct Consume {
pub ticket: u16,
pub queue: String,
pub consumer_tag: String,
pub no_local: bool,
pub no_ack: bool,
pub exclusive: bool,
pub nowait: bool,
pub arguments: HashMap<String, TableEntry>,
}
Fields§
§ticket: u16
§queue: String
§consumer_tag: String
§no_local: bool
§no_ack: bool
§exclusive: bool
§nowait: bool
§arguments: HashMap<String, TableEntry>
Trait Implementations§
Source§impl Method for Consume
impl Method for Consume
fn decode(method_frame: MethodFrame) -> Result<Consume, Error>
fn encode(&self) -> Result<EncodedMethod, Error>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload, Error>
fn to_frame(&self, channel: u16) -> Result<Frame, Error>
impl Send for Consume
impl StructuralPartialEq for Consume
Auto Trait Implementations§
impl Freeze for Consume
impl RefUnwindSafe for Consume
impl Sync for Consume
impl Unpin for Consume
impl UnwindSafe for Consume
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