pub struct SwarmMetrics {
pub total_agents: usize,
pub active_agents: usize,
pub queued_tasks: usize,
pub assigned_tasks: usize,
pub total_connections: usize,
}
Expand description
Swarm metrics
Fields§
§total_agents: usize
Total number of agents in the swarm
active_agents: usize
Number of agents currently active and available
queued_tasks: usize
Number of tasks waiting in the queue
assigned_tasks: usize
Number of tasks currently assigned to agents
total_connections: usize
Total number of inter-agent connections
Trait Implementations§
Source§impl Clone for SwarmMetrics
impl Clone for SwarmMetrics
Source§fn clone(&self) -> SwarmMetrics
fn clone(&self) -> SwarmMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SwarmMetrics
impl RefUnwindSafe for SwarmMetrics
impl Send for SwarmMetrics
impl Sync for SwarmMetrics
impl Unpin for SwarmMetrics
impl UnwindSafe for SwarmMetrics
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