#[non_exhaustive]pub struct ReclaimOptions {
pub forefront: bool,
pub increment_retry: bool,
}Expand description
Options controlling return of a leased request to the queue.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.forefront: boolWhether to reinsert at the front of the queue.
increment_retry: boolWhether to increment the request retry count.
Trait Implementations§
Source§impl Clone for ReclaimOptions
impl Clone for ReclaimOptions
Source§fn clone(&self) -> ReclaimOptions
fn clone(&self) -> ReclaimOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReclaimOptions
impl Debug for ReclaimOptions
Auto Trait Implementations§
impl Freeze for ReclaimOptions
impl RefUnwindSafe for ReclaimOptions
impl Send for ReclaimOptions
impl Sync for ReclaimOptions
impl Unpin for ReclaimOptions
impl UnsafeUnpin for ReclaimOptions
impl UnwindSafe for ReclaimOptions
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