pub struct EmptyToolRegistry;Expand description
Required first implementation: every request is unavailable.
Implementations§
Trait Implementations§
Source§impl Clone for EmptyToolRegistry
impl Clone for EmptyToolRegistry
Source§fn clone(&self) -> EmptyToolRegistry
fn clone(&self) -> EmptyToolRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmptyToolRegistry
impl Debug for EmptyToolRegistry
Source§impl Default for EmptyToolRegistry
impl Default for EmptyToolRegistry
Source§fn default() -> EmptyToolRegistry
fn default() -> EmptyToolRegistry
Returns the “default value” for a type. Read more
Source§impl ToolRegistry for EmptyToolRegistry
impl ToolRegistry for EmptyToolRegistry
Source§fn resolve<'a>(
&'a self,
_request: ResolveToolRequest,
) -> Pin<Box<dyn Future<Output = Result<ToolResolution, ToolRegistryError>> + Send + 'a>>
fn resolve<'a>( &'a self, _request: ResolveToolRequest, ) -> Pin<Box<dyn Future<Output = Result<ToolResolution, ToolRegistryError>> + Send + 'a>>
Resolve a complete tool request.
Auto Trait Implementations§
impl Freeze for EmptyToolRegistry
impl RefUnwindSafe for EmptyToolRegistry
impl Send for EmptyToolRegistry
impl Sync for EmptyToolRegistry
impl Unpin for EmptyToolRegistry
impl UnsafeUnpin for EmptyToolRegistry
impl UnwindSafe for EmptyToolRegistry
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