pub struct MockToolRegistry { /* private fields */ }Expand description
Registry of hand-written mock tool implementations keyed by capability name.
Implementations§
Source§impl MockToolRegistry
impl MockToolRegistry
pub fn get(&self, name: &str) -> Option<MockToolFn>
pub fn known_capabilities(&self) -> Vec<&'static str>
Auto Trait Implementations§
impl Freeze for MockToolRegistry
impl RefUnwindSafe for MockToolRegistry
impl Send for MockToolRegistry
impl Sync for MockToolRegistry
impl Unpin for MockToolRegistry
impl UnsafeUnpin for MockToolRegistry
impl UnwindSafe for MockToolRegistry
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