pub struct BuiltChildRuntime {
pub runtime: Runtime,
pub generation_config: Option<GenerationConfig>,
pub max_model_turns: Option<u32>,
pub timeout_secs: Option<u64>,
pub max_total_tokens: Option<u64>,
pub resolved_role: Option<String>,
pub workspace_lifecycle: Option<Arc<dyn ChildWorkspaceLifecycle>>,
}Expand description
Constructed child runtime plus optional resolved per-role execution overrides.
Fields§
§runtime: RuntimeBuilt child runtime handle.
generation_config: Option<GenerationConfig>Optional resolved generation config (e.g. 4-level role/default/parent inheritance).
max_model_turns: Option<u32>Optional resolved effective model-turn budget (e.g. role default when task omitted it).
timeout_secs: Option<u64>Optional resolved effective wall-clock timeout in seconds.
max_total_tokens: Option<u64>Optional resolved cumulative token circuit breaker.
resolved_role: Option<String>Optional resolved effective role label reported in status views.
workspace_lifecycle: Option<Arc<dyn ChildWorkspaceLifecycle>>Optional isolated workspace lifecycle hook (e.g. Git worktree diff collection & fail-toward-keep cleanup).
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BuiltChildRuntime
impl !UnwindSafe for BuiltChildRuntime
impl Forget for BuiltChildRuntime
impl Freeze for BuiltChildRuntimewhere
*const ArcInner<RuntimeInner> is !null: Freeze,
PhantomData<ArcInner<RuntimeInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<dyn ChildWorkspaceLifecycle> is !null: Freeze,
PhantomData<ArcInner<dyn ChildWorkspaceLifecycle>>: Freeze,
impl Move for BuiltChildRuntime
impl Send for BuiltChildRuntime
impl Sync for BuiltChildRuntime
impl Unpin for BuiltChildRuntime
impl UnsafeUnpin for BuiltChildRuntimewhere
*const ArcInner<RuntimeInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<RuntimeInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<dyn ChildWorkspaceLifecycle> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ChildWorkspaceLifecycle>>: UnsafeUnpin,
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