pub struct ParallelAgentConfig {
pub agent: AgentConfig,
}Expand description
The configuration of a parallel agent.
Fields§
§agent: AgentConfigBasic agent setup; run must be None.
Trait Implementations§
Source§impl Clone for ParallelAgentConfig
impl Clone for ParallelAgentConfig
Auto Trait Implementations§
impl !RefUnwindSafe for ParallelAgentConfig
impl !UnwindSafe for ParallelAgentConfig
impl Forget for ParallelAgentConfig
impl Freeze for ParallelAgentConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Arc<dyn Agent>>: Freeze,
PhantomData<Arc<dyn Fn(Context) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AgentError>> + Send>> + Sync + Send>>: Freeze,
*const ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send>>: Freeze,
impl Move for ParallelAgentConfig
impl Send for ParallelAgentConfig
impl Sync for ParallelAgentConfig
impl Unpin for ParallelAgentConfig
impl UnsafeUnpin for ParallelAgentConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Arc<dyn Agent>>: UnsafeUnpin,
PhantomData<Arc<dyn Fn(Context) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AgentError>> + Send>> + Sync + Send>>: UnsafeUnpin,
*const ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(InvocationContext) -> Pin<Box<dyn Stream<Item = Result<Event, AgentError>> + Send>> + Sync + Send>>: UnsafeUnpin,
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