pub struct SyncExecutor { /* private fields */ }Expand description
Main sync executor - coordinates tool detection and bootstrap generation
Implementations§
Source§impl SyncExecutor
impl SyncExecutor
Sourcepub fn detect_tools(&self, project_root: &Path) -> Vec<Tool>
pub fn detect_tools(&self, project_root: &Path) -> Vec<Tool>
Detect which tools are in use in the project
Sourcepub fn detect_all(&self, project_root: &Path) -> Vec<DetectionResult>
pub fn detect_all(&self, project_root: &Path) -> Vec<DetectionResult>
Get detection results for all tools
Sourcepub fn bootstrap_tool(
&self,
tool: Tool,
project_root: &Path,
) -> Result<BootstrapResult>
pub fn bootstrap_tool( &self, tool: Tool, project_root: &Path, ) -> Result<BootstrapResult>
Bootstrap a single tool with ACP context
Sourcepub fn bootstrap_all(&self, project_root: &Path) -> Vec<Result<BootstrapResult>> ⓘ
pub fn bootstrap_all(&self, project_root: &Path) -> Vec<Result<BootstrapResult>> ⓘ
Bootstrap all detected tools plus the generic fallback
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncExecutor
impl !RefUnwindSafe for SyncExecutor
impl Send for SyncExecutor
impl Sync for SyncExecutor
impl Unpin for SyncExecutor
impl !UnwindSafe for SyncExecutor
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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