pub enum DeqNavigation {
FirstMessage,
NextTransaction,
NextMessage,
}
Available on crate feature
aq_unstable
only.Expand description
method used for determining which message is to be dequeued from a queue
Warning: The type is unstable. It may be changed incompatibly by minor version upgrades.
Variants§
FirstMessage
Retrieves the first available message that matches the search criteria. This resets the position to the beginning of the queue.
NextTransaction
Skips the remainder of the current transaction group (if any) and retrieves the first message of the next transaction group. This option can only be used if message grouping is enabled for the queue.
NextMessage
Retrieves the next available message that matches the search criteria. This is the default method.
Trait Implementations§
Source§fn clone(&self) -> DeqNavigation
fn clone(&self) -> DeqNavigation
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 moreAuto Trait Implementations§
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