Enum AgentStatus
pub enum AgentStatus {
Idle,
Planning,
Running,
WaitingForTool,
WaitingForUser,
Succeeded,
Failed,
Cancelled,
Paused,
}Variants§
Implementations§
§impl AgentStatus
impl AgentStatus
pub const ALL: &'static [AgentStatus]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentStatus
impl Clone for AgentStatus
§fn clone(&self) -> AgentStatus
fn clone(&self) -> AgentStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AgentStatus
impl Debug for AgentStatus
§impl Display for AgentStatus
impl Display for AgentStatus
§impl FromStr for AgentStatus
impl FromStr for AgentStatus
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<AgentStatus, <AgentStatus as FromStr>::Err>
fn from_str(value: &str) -> Result<AgentStatus, <AgentStatus as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AgentStatus
impl Hash for AgentStatus
§impl Ord for AgentStatus
impl Ord for AgentStatus
§impl PartialEq for AgentStatus
impl PartialEq for AgentStatus
§impl PartialOrd for AgentStatus
impl PartialOrd for AgentStatus
impl Copy for AgentStatus
impl Eq for AgentStatus
impl StructuralPartialEq for AgentStatus
Auto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnsafeUnpin for AgentStatus
impl UnwindSafe for AgentStatus
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