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(), .tools(),
.dynamic_tools(), etc. When .build() is called, a new ToolServer
will be created with all the configured tools.
Auto Trait Implementations§
impl Freeze for WithBuilderTools
impl !RefUnwindSafe for WithBuilderTools
impl Send for WithBuilderTools
impl Sync for WithBuilderTools
impl Unpin for WithBuilderTools
impl UnsafeUnpin for WithBuilderTools
impl !UnwindSafe 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