pub struct AgentPoolStats {
pub max_agents: usize,
pub total_agents: usize,
pub running: usize,
pub completed: usize,
pub failed: usize,
}Expand description
Statistics about the agent pool.
Fields§
§max_agents: usizeMaximum concurrent agents allowed.
total_agents: usizeTotal agents currently tracked (running + awaiting cleanup).
running: usizeAgents that are currently running.
completed: usizeAgents that have finished but not yet cleaned up.
failed: usizeAgents that are known to have failed (requires awaiting the handle).
Trait Implementations§
Source§impl Clone for AgentPoolStats
impl Clone for AgentPoolStats
Source§fn clone(&self) -> AgentPoolStats
fn clone(&self) -> AgentPoolStats
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 moreAuto Trait Implementations§
impl Freeze for AgentPoolStats
impl RefUnwindSafe for AgentPoolStats
impl Send for AgentPoolStats
impl Sync for AgentPoolStats
impl Unpin for AgentPoolStats
impl UnsafeUnpin for AgentPoolStats
impl UnwindSafe for AgentPoolStats
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