pub struct ToolUseDeps {
pub fallback: Arc<dyn FallbackStrategy>,
}Expand description
ToolUseLoop 策略依赖。
包含有行为逻辑的服务对象(Arc 包裹),与纯参数 Config 分离。
Fields§
§fallback: Arc<dyn FallbackStrategy>Provider 降级策略
Trait Implementations§
Source§impl Clone for ToolUseDeps
impl Clone for ToolUseDeps
Source§fn clone(&self) -> ToolUseDeps
fn clone(&self) -> ToolUseDeps
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ToolUseDeps
impl !UnwindSafe for ToolUseDeps
impl Freeze for ToolUseDeps
impl Send for ToolUseDeps
impl Sync for ToolUseDeps
impl Unpin for ToolUseDeps
impl UnsafeUnpin for ToolUseDeps
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