pub struct AsyncFunctionToolHandler<F, Fut>{ /* private fields */ }Expand description
An async function-based tool handler
Implementations§
Trait Implementations§
Source§impl<F, Fut> ToolHandler for AsyncFunctionToolHandler<F, Fut>
impl<F, Fut> ToolHandler for AsyncFunctionToolHandler<F, Fut>
Auto Trait Implementations§
impl<F, Fut> Freeze for AsyncFunctionToolHandler<F, Fut>where
F: Freeze,
impl<F, Fut> RefUnwindSafe for AsyncFunctionToolHandler<F, Fut>where
F: RefUnwindSafe,
impl<F, Fut> Send for AsyncFunctionToolHandler<F, Fut>
impl<F, Fut> Sync for AsyncFunctionToolHandler<F, Fut>
impl<F, Fut> Unpin for AsyncFunctionToolHandler<F, Fut>where
F: Unpin,
impl<F, Fut> UnsafeUnpin for AsyncFunctionToolHandler<F, Fut>where
F: UnsafeUnpin,
impl<F, Fut> UnwindSafe for AsyncFunctionToolHandler<F, Fut>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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