pub struct ConcurrentSpawnConfig {
pub max_concurrent: usize,
pub timeout_ms: u64,
pub fail_fast: bool,
}Expand description
Configuration for bounded concurrent spawning
Fields§
§max_concurrent: usizeMaximum concurrent agents
timeout_ms: u64Timeout per agent (milliseconds, 0 = no timeout)
fail_fast: boolWhether to fail fast on first error
Trait Implementations§
Source§impl Clone for ConcurrentSpawnConfig
impl Clone for ConcurrentSpawnConfig
Source§fn clone(&self) -> ConcurrentSpawnConfig
fn clone(&self) -> ConcurrentSpawnConfig
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 ConcurrentSpawnConfig
impl Debug for ConcurrentSpawnConfig
Auto Trait Implementations§
impl Freeze for ConcurrentSpawnConfig
impl RefUnwindSafe for ConcurrentSpawnConfig
impl Send for ConcurrentSpawnConfig
impl Sync for ConcurrentSpawnConfig
impl Unpin for ConcurrentSpawnConfig
impl UnwindSafe for ConcurrentSpawnConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more