pub struct AgentCLI { /* private fields */ }
Implementations§
Source§impl AgentCLI
impl AgentCLI
pub fn new() -> Self
pub fn create(&mut self, name: &str) -> Result<(), String>
pub fn add_skill(&mut self, skill: &str) -> Result<(), String>
pub fn configure(&mut self, key: &str, value: &str) -> Result<(), String>
pub fn run(&mut self) -> Result<(), String>
pub fn shutdown(&mut self) -> Result<(), String>
pub fn get_agent(&self) -> Option<&Agent>
Auto Trait Implementations§
impl Freeze for AgentCLI
impl RefUnwindSafe for AgentCLI
impl Send for AgentCLI
impl Sync for AgentCLI
impl Unpin for AgentCLI
impl UnwindSafe for AgentCLI
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