pub struct ProcessHandler { /* private fields */ }Expand description
Handler for bash/process tool execution.
Implementations§
Source§impl ProcessHandler
impl ProcessHandler
Sourcepub fn new(approval_manager: Option<ApprovalRulesManager>) -> Self
pub fn new(approval_manager: Option<ApprovalRulesManager>) -> Self
Create a new process handler.
Trait Implementations§
Source§impl ToolHandler for ProcessHandler
impl ToolHandler for ProcessHandler
Source§fn pre_check(
&self,
_tool_name: &str,
args: &HashMap<String, Value>,
) -> PreCheckResult
fn pre_check( &self, _tool_name: &str, args: &HashMap<String, Value>, ) -> PreCheckResult
Pre-execution check. Called before the tool runs. Read more
Auto Trait Implementations§
impl Freeze for ProcessHandler
impl RefUnwindSafe for ProcessHandler
impl Send for ProcessHandler
impl Sync for ProcessHandler
impl Unpin for ProcessHandler
impl UnsafeUnpin for ProcessHandler
impl UnwindSafe for ProcessHandler
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