pub struct SchedulerStats {
pub running: bool,
pub total_actors: u64,
pub active_actors: usize,
pub total_messages_processed: u64,
pub total_batches_processed: u64,
pub total_stolen: u64,
pub worker_count: usize,
pub workers: Vec<WorkerStatsInfo>,
}Expand description
Statistics for the scheduler.
Fields§
§running: boolWhether the scheduler is running
total_actors: u64Total actors spawned
active_actors: usizeCurrently active actors
total_messages_processed: u64Total messages processed
total_batches_processed: u64Total batch tasks processed
total_stolen: u64Total tasks stolen
worker_count: usizeNumber of workers
workers: Vec<WorkerStatsInfo>Per-worker statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchedulerStats
impl RefUnwindSafe for SchedulerStats
impl Send for SchedulerStats
impl Sync for SchedulerStats
impl Unpin for SchedulerStats
impl UnsafeUnpin for SchedulerStats
impl UnwindSafe for SchedulerStats
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