pub struct TurnExecutorV1 { /* private fields */ }Implementations§
Source§impl TurnExecutorV1
impl TurnExecutorV1
pub fn new(config: TurnExecutorConfigV1) -> Self
pub async fn execute(&self, input: AiDENsRunInput) -> Result<AiDENsRunOutput>
pub async fn execute_with_tool_policy( &self, input: AiDENsRunInput, tool_policy: ToolExposurePolicyV1, ) -> Result<AiDENsRunOutput>
Trait Implementations§
Source§impl Clone for TurnExecutorV1
impl Clone for TurnExecutorV1
Source§fn clone(&self) -> TurnExecutorV1
fn clone(&self) -> TurnExecutorV1
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 TurnExecutorV1
impl !UnwindSafe for TurnExecutorV1
impl Freeze for TurnExecutorV1
impl Send for TurnExecutorV1
impl Sync for TurnExecutorV1
impl Unpin for TurnExecutorV1
impl UnsafeUnpin for TurnExecutorV1
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