Skip to main content

RunLoopOptions

Struct RunLoopOptions 

Source
pub struct RunLoopOptions {
Show 13 fields pub max_tasks: u32, pub agent_overrides: AgentOverrides, pub force: bool, pub auto_resume: bool, pub starting_completed: u32, pub non_interactive: bool, pub parallel_workers: Option<u8>, pub wait_when_blocked: bool, pub wait_poll_ms: u64, pub wait_timeout_seconds: u64, pub notify_when_unblocked: bool, pub wait_when_empty: bool, pub empty_poll_ms: u64,
}

Fields§

§max_tasks: u32

0 means “no limit”

§agent_overrides: AgentOverrides§force: bool§auto_resume: bool

Auto-resume without prompting (for –resume flag)

§starting_completed: u32

Starting completed count (for resumed sessions)

§non_interactive: bool

Skip interactive prompts (for CI/non-interactive runs)

§parallel_workers: Option<u8>

Number of parallel workers to use when parallel mode is enabled.

§wait_when_blocked: bool

Wait when blocked by dependencies/schedule instead of exiting.

§wait_poll_ms: u64

Poll interval in milliseconds while waiting (default: 1000).

§wait_timeout_seconds: u64

Timeout in seconds for waiting (0 = no timeout).

§notify_when_unblocked: bool

Notify when queue becomes unblocked.

§wait_when_empty: bool

Wait when queue is empty instead of exiting (continuous mode).

§empty_poll_ms: u64

Poll interval in milliseconds while waiting on an empty queue (default: 30000).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more