pub struct WithBuilderTools { /* private fields */ }Expand description
Typestate indicating tools are being configured via the builder API.
In this state, you can continue adding tools via .tool(),
.dynamic_tool(), .dynamic_tools(), and .retrieved_tools(). When
.build() is called, a new ToolServer
will be created with all the configured tools.
Auto Trait Implementations§
impl !RefUnwindSafe for WithBuilderTools
impl !UnwindSafe for WithBuilderTools
impl Freeze for WithBuilderTools
impl Send for WithBuilderTools
impl Sync for WithBuilderTools
impl Unpin for WithBuilderTools
impl UnsafeUnpin for WithBuilderTools
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