pub struct RunnerConfig { /* private fields */ }Expand description
Task runner configuration.
The plugin name defaults from GENJA_RUNNER_PLUGIN. worker_count,
max_task_depth, and max_connection_attempts control built-in runner
behavior; options carries plugin-specific JSON for custom runners.
Implementations§
Source§impl RunnerConfig
impl RunnerConfig
pub fn builder() -> RunnerConfigBuilder
pub fn plugin(&self) -> &str
pub fn options(&self) -> &Value
pub fn worker_count(&self) -> Option<usize>
pub fn max_task_depth(&self) -> usize
pub fn max_connection_attempts(&self) -> usize
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
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 RunnerConfig
impl Debug for RunnerConfig
Source§impl Default for RunnerConfig
impl Default for RunnerConfig
Source§impl<'de> Deserialize<'de> for RunnerConfigwhere
RunnerConfig: Default,
impl<'de> Deserialize<'de> for RunnerConfigwhere
RunnerConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnsafeUnpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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