pub struct PipelineRuntime<'a> {
pub timer: &'a mut Timer,
pub logger: &'a Logger,
pub colors: &'a Colors,
pub config: &'a Config,
pub executor: &'a dyn ProcessExecutor,
pub executor_arc: Arc<dyn ProcessExecutor>,
pub workspace: &'a dyn Workspace,
}Expand description
Runtime services required for running agent commands.
Fields§
§timer: &'a mut Timer§logger: &'a Logger§colors: &'a Colors§config: &'a Config§executor: &'a dyn ProcessExecutorProcess executor for external process execution.
executor_arc: Arc<dyn ProcessExecutor>Arc-wrapped executor for spawning into threads (e.g., idle timeout monitor).
workspace: &'a dyn WorkspaceWorkspace for file operations.
Auto Trait Implementations§
impl<'a> Freeze for PipelineRuntime<'a>
impl<'a> !RefUnwindSafe for PipelineRuntime<'a>
impl<'a> Send for PipelineRuntime<'a>
impl<'a> Sync for PipelineRuntime<'a>
impl<'a> Unpin for PipelineRuntime<'a>
impl<'a> !UnwindSafe for PipelineRuntime<'a>
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> 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