pub struct NoToolRuntime;Expand description
Runtime that asserts it is never started (pairs with EmptyToolRegistry).
Implementations§
Source§impl NoToolRuntime
impl NoToolRuntime
Trait Implementations§
Source§impl Clone for NoToolRuntime
impl Clone for NoToolRuntime
Source§fn clone(&self) -> NoToolRuntime
fn clone(&self) -> NoToolRuntime
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 NoToolRuntime
impl Debug for NoToolRuntime
Source§impl Default for NoToolRuntime
impl Default for NoToolRuntime
Source§fn default() -> NoToolRuntime
fn default() -> NoToolRuntime
Returns the “default value” for a type. Read more
Source§impl ToolRuntime for NoToolRuntime
impl ToolRuntime for NoToolRuntime
Source§fn start(
&self,
_request: StartToolExecution,
) -> Result<ToolExecutionHandle, ToolRuntimeError>
fn start( &self, _request: StartToolExecution, ) -> Result<ToolExecutionHandle, ToolRuntimeError>
Start a tool execution. Must not be called when registry always unavailable.
Auto Trait Implementations§
impl Freeze for NoToolRuntime
impl RefUnwindSafe for NoToolRuntime
impl Send for NoToolRuntime
impl Sync for NoToolRuntime
impl Unpin for NoToolRuntime
impl UnsafeUnpin for NoToolRuntime
impl UnwindSafe for NoToolRuntime
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