pub struct WorkerOptions {
pub max_retries: u32,
pub task_limit: Option<usize>,
pub no_task_found_delay: Duration,
}Fields§
§max_retries: u32§task_limit: Option<usize>§no_task_found_delay: DurationTrait Implementations§
Source§impl Clone for WorkerOptions
impl Clone for WorkerOptions
Source§fn clone(&self) -> WorkerOptions
fn clone(&self) -> WorkerOptions
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 WorkerOptions
impl Debug for WorkerOptions
Source§impl Default for WorkerOptions
impl Default for WorkerOptions
Source§fn default() -> WorkerOptions
fn default() -> WorkerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkerOptions
impl RefUnwindSafe for WorkerOptions
impl Send for WorkerOptions
impl Sync for WorkerOptions
impl Unpin for WorkerOptions
impl UnwindSafe for WorkerOptions
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