pub struct CodingRuntime { /* private fields */ }Expand description
A built parent coding runtime and the policy that governs its loop.
Implementations§
Source§impl CodingRuntime
impl CodingRuntime
Sourcepub fn runtime(&self) -> &Runtime
pub fn runtime(&self) -> &Runtime
Borrows the runtime state handle owned by this composition result.
Sourcepub fn into_runtime(self) -> Runtime
pub fn into_runtime(self) -> Runtime
Consumes the composition result and returns its runtime handle.
Sourcepub fn profile(&self) -> &CodingAgentProfile
pub fn profile(&self) -> &CodingAgentProfile
Borrows the shared coding profile used by this runtime.
Sourcepub fn loop_config(&self) -> AgentLoopConfig
pub fn loop_config(&self) -> AgentLoopConfig
Clones the loop configuration derived from the shared coding profile.
Auto Trait Implementations§
impl !RefUnwindSafe for CodingRuntime
impl !UnwindSafe for CodingRuntime
impl Forget for CodingRuntime
impl Freeze for CodingRuntime
impl Move for CodingRuntime
impl Send for CodingRuntime
impl Sync for CodingRuntime
impl Unpin for CodingRuntime
impl UnsafeUnpin for CodingRuntime
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