pub struct BuildAgent { /* private fields */ }Expand description
Build Agent implementation
Implementations§
Source§impl BuildAgent
impl BuildAgent
pub fn new() -> Self
pub fn with_workspace(workspace_dir: PathBuf) -> Self
Trait Implementations§
Source§impl Agent for BuildAgent
impl Agent for BuildAgent
Source§type Input = BuildInput
type Input = BuildInput
Input type for this agent
Source§type Output = BuildOutput
type Output = BuildOutput
Output type for this agent
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
input: Self::Input,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the agent’s primary function Read more
Source§fn capabilities(&self) -> Vec<AgentCapability>
fn capabilities(&self) -> Vec<AgentCapability>
Get the capabilities this agent provides
Source§impl Default for BuildAgent
impl Default for BuildAgent
Source§impl Drop for BuildAgent
impl Drop for BuildAgent
Auto Trait Implementations§
impl Freeze for BuildAgent
impl RefUnwindSafe for BuildAgent
impl Send for BuildAgent
impl Sync for BuildAgent
impl Unpin for BuildAgent
impl UnsafeUnpin for BuildAgent
impl UnwindSafe for BuildAgent
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