pub struct ToolCommandAdapter { /* private fields */ }
Implementations§
Source§impl ToolCommandAdapter
impl ToolCommandAdapter
pub fn new(tool: Arc<dyn ToolHandler>) -> Self
Trait Implementations§
Source§impl CommandHandler for ToolCommandAdapter
impl CommandHandler for ToolCommandAdapter
Auto Trait Implementations§
impl Freeze for ToolCommandAdapter
impl !RefUnwindSafe for ToolCommandAdapter
impl Send for ToolCommandAdapter
impl Sync for ToolCommandAdapter
impl Unpin for ToolCommandAdapter
impl !UnwindSafe for ToolCommandAdapter
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