Struct worker::QueueRetryOptionsBuilder
source · pub struct QueueRetryOptionsBuilder { /* private fields */ }
Implementations§
source§impl QueueRetryOptionsBuilder
impl QueueRetryOptionsBuilder
sourcepub fn with_delay_seconds(self, delay_seconds: u32) -> Self
pub fn with_delay_seconds(self, delay_seconds: u32) -> Self
The number of seconds to delay a message for within the queue, before it can be delivered to a consumer
sourcepub fn build(self) -> QueueRetryOptions
pub fn build(self) -> QueueRetryOptions
Build the retry options.
Auto Trait Implementations§
impl Freeze for QueueRetryOptionsBuilder
impl RefUnwindSafe for QueueRetryOptionsBuilder
impl Send for QueueRetryOptionsBuilder
impl Sync for QueueRetryOptionsBuilder
impl Unpin for QueueRetryOptionsBuilder
impl UnwindSafe for QueueRetryOptionsBuilder
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