pub struct RuntimeMetricsSnapshot {
pub processes_spawned: u64,
pub processes_completed: u64,
pub processes_failed: u64,
pub messages_sent: u64,
pub steals: u64,
pub reschedules: u64,
}Expand description
Point-in-time, non-atomic copy of RuntimeMetrics suitable for
printing or exporting.
Fields§
§processes_spawned: u64§processes_completed: u64§processes_failed: u64§messages_sent: u64§steals: u64§reschedules: u64Trait Implementations§
Source§impl Clone for RuntimeMetricsSnapshot
impl Clone for RuntimeMetricsSnapshot
Source§fn clone(&self) -> RuntimeMetricsSnapshot
fn clone(&self) -> RuntimeMetricsSnapshot
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 RuntimeMetricsSnapshot
Source§impl Debug for RuntimeMetricsSnapshot
impl Debug for RuntimeMetricsSnapshot
Source§impl Default for RuntimeMetricsSnapshot
impl Default for RuntimeMetricsSnapshot
Source§fn default() -> RuntimeMetricsSnapshot
fn default() -> RuntimeMetricsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeMetricsSnapshot
impl RefUnwindSafe for RuntimeMetricsSnapshot
impl Send for RuntimeMetricsSnapshot
impl Sync for RuntimeMetricsSnapshot
impl Unpin for RuntimeMetricsSnapshot
impl UnsafeUnpin for RuntimeMetricsSnapshot
impl UnwindSafe for RuntimeMetricsSnapshot
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