pub struct ResolvedToolRegistry { /* private fields */ }Expand description
Registry backed by the transaction-resolved allowlist.
Implementations§
Source§impl ResolvedToolRegistry
impl ResolvedToolRegistry
Sourcepub fn new(tools: ResolvedToolSet) -> Self
pub fn new(tools: ResolvedToolSet) -> Self
Construct from the admitted resolved set.
Trait Implementations§
Source§impl ToolRegistry for ResolvedToolRegistry
impl ToolRegistry for ResolvedToolRegistry
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 !RefUnwindSafe for ResolvedToolRegistry
impl !UnwindSafe for ResolvedToolRegistry
impl Freeze for ResolvedToolRegistry
impl Send for ResolvedToolRegistry
impl Sync for ResolvedToolRegistry
impl Unpin for ResolvedToolRegistry
impl UnsafeUnpin for ResolvedToolRegistry
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