pub trait ShellPreprocessor: Send + Sync {
// Required method
fn process<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
content: &'life1 str,
workspace: &'life2 Path,
executor: &'life3 Arc<ToolExecutor>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}Expand description
Shell command output extractor
Required Methods§
Sourcefn process<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
content: &'life1 str,
workspace: &'life2 Path,
executor: &'life3 Arc<ToolExecutor>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn process<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
content: &'life1 str,
workspace: &'life2 Path,
executor: &'life3 Arc<ToolExecutor>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Process skill content, executing any embedded shell commands