pub struct SearchCratesToolImpl { /* private fields */ }Expand description
Implementation of the search crates tool
Handles the execution of crate searches on crates.io, including cache management, HTTP requests, and result formatting.
Implementations§
Source§impl SearchCratesToolImpl
impl SearchCratesToolImpl
Sourcepub fn new(service: Arc<DocService>) -> Self
pub fn new(service: Arc<DocService>) -> Self
Create a new tool instance
Trait Implementations§
Source§impl Default for SearchCratesToolImpl
impl Default for SearchCratesToolImpl
Source§impl Tool for SearchCratesToolImpl
impl Tool for SearchCratesToolImpl
Source§fn definition(&self) -> Tool
fn definition(&self) -> Tool
Get tool definition Read more
Auto Trait Implementations§
impl Freeze for SearchCratesToolImpl
impl !RefUnwindSafe for SearchCratesToolImpl
impl Send for SearchCratesToolImpl
impl Sync for SearchCratesToolImpl
impl Unpin for SearchCratesToolImpl
impl UnsafeUnpin for SearchCratesToolImpl
impl !UnwindSafe for SearchCratesToolImpl
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