pub struct ExecutorSnapshot {
pub stats: ExecutorStats,
pub active_task_count: usize,
}Expand description
Executor activity reported at a configured wall-clock interval.
Fields§
§stats: ExecutorStatsCumulative future activity so far in this run.
active_task_count: usizeNumber of tasks currently active in the executor.
Trait Implementations§
Source§impl Clone for ExecutorSnapshot
impl Clone for ExecutorSnapshot
Source§fn clone(&self) -> ExecutorSnapshot
fn clone(&self) -> ExecutorSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecutorSnapshot
Source§impl Debug for ExecutorSnapshot
impl Debug for ExecutorSnapshot
impl Eq for ExecutorSnapshot
Source§impl PartialEq for ExecutorSnapshot
impl PartialEq for ExecutorSnapshot
Source§fn eq(&self, other: &ExecutorSnapshot) -> bool
fn eq(&self, other: &ExecutorSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutorSnapshot
Auto Trait Implementations§
impl Freeze for ExecutorSnapshot
impl RefUnwindSafe for ExecutorSnapshot
impl Send for ExecutorSnapshot
impl Sync for ExecutorSnapshot
impl Unpin for ExecutorSnapshot
impl UnsafeUnpin for ExecutorSnapshot
impl UnwindSafe for ExecutorSnapshot
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