pub struct StaticToolProvider { /* private fields */ }Expand description
A ToolProvider backed by a fixed, pre-built list of tools.
Useful for registering tools known at construction time.
Implementations§
Trait Implementations§
Source§impl Debug for StaticToolProvider
impl Debug for StaticToolProvider
Source§impl ToolProvider for StaticToolProvider
impl ToolProvider for StaticToolProvider
Source§fn discover_tools(
&self,
) -> BoxFuture<'_, Result<Vec<Arc<dyn Tool>>, SynwireError>>
fn discover_tools( &self, ) -> BoxFuture<'_, Result<Vec<Arc<dyn Tool>>, SynwireError>>
Returns all tools available from this provider. Read more
Auto Trait Implementations§
impl Freeze for StaticToolProvider
impl !RefUnwindSafe for StaticToolProvider
impl Send for StaticToolProvider
impl Sync for StaticToolProvider
impl Unpin for StaticToolProvider
impl UnsafeUnpin for StaticToolProvider
impl !UnwindSafe for StaticToolProvider
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