pub struct BasicConsumeOptions {
pub ticket: u16,
pub no_local: bool,
pub no_ack: bool,
pub exclusive: bool,
pub no_wait: bool,
}Fields§
§ticket: u16§no_local: bool§no_ack: boolIf this field is set the server does not expect acknowledgements for messages. That is, when a message is delivered to the client the server assumes the delivery will succeed and immediately dequeues it.
exclusive: boolRequest exclusive consumer access, meaning only this consumer can access the queue.
no_wait: boolIf set, the server will not respond to the method. The client should not wait for a reply method. If the server could not complete the method it will raise a channel or connection exception.
Trait Implementations§
source§impl Clone for BasicConsumeOptions
impl Clone for BasicConsumeOptions
source§fn clone(&self) -> BasicConsumeOptions
fn clone(&self) -> BasicConsumeOptions
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 Debug for BasicConsumeOptions
impl Debug for BasicConsumeOptions
source§impl Default for BasicConsumeOptions
impl Default for BasicConsumeOptions
source§fn default() -> BasicConsumeOptions
fn default() -> BasicConsumeOptions
Returns the “default value” for a type. Read more