pub struct ExecutorOptions {
pub concurrency: NonZeroUsize,
pub deadline: Option<Duration>,
}Expand description
Tunables for run.
Fields§
§concurrency: NonZeroUsizeMaximum number of in-flight site probes.
deadline: Option<Duration>Total wall-clock deadline for the entire scan. Sites still in flight
when this elapses produce MatchKind::Uncertain outcomes.
Implementations§
Source§impl ExecutorOptions
impl ExecutorOptions
Sourcepub fn concurrency(self, n: NonZeroUsize) -> Self
pub fn concurrency(self, n: NonZeroUsize) -> Self
Override Self::concurrency.
Trait Implementations§
Source§impl Clone for ExecutorOptions
impl Clone for ExecutorOptions
Source§fn clone(&self) -> ExecutorOptions
fn clone(&self) -> ExecutorOptions
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 ExecutorOptions
impl Debug for ExecutorOptions
Auto Trait Implementations§
impl Freeze for ExecutorOptions
impl RefUnwindSafe for ExecutorOptions
impl Send for ExecutorOptions
impl Sync for ExecutorOptions
impl Unpin for ExecutorOptions
impl UnsafeUnpin for ExecutorOptions
impl UnwindSafe for ExecutorOptions
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