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 duplicate 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
Source§impl PartialEq for BasicConsumeOptions
impl PartialEq for BasicConsumeOptions
impl StructuralPartialEq for BasicConsumeOptions
Auto Trait Implementations§
impl Freeze for BasicConsumeOptions
impl RefUnwindSafe for BasicConsumeOptions
impl Send for BasicConsumeOptions
impl Sync for BasicConsumeOptions
impl Unpin for BasicConsumeOptions
impl UnwindSafe for BasicConsumeOptions
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