pub struct RuntimeMetricsSnapshot {Show 16 fields
pub flavor: RuntimeFlavor,
pub worker_threads: usize,
pub max_blocking_tasks: usize,
pub tasks_spawned: u64,
pub tasks_completed: u64,
pub tasks_panicked: u64,
pub runnable_schedules: u64,
pub runnable_polls: u64,
pub queued_runnables: u64,
pub max_queued_runnables: u64,
pub active_runnables: u64,
pub max_active_runnables: u64,
pub blocking_tasks_started: u64,
pub blocking_tasks_completed: u64,
pub active_blocking_tasks: u64,
pub max_active_blocking_tasks: u64,
}Fields§
§flavor: RuntimeFlavor§worker_threads: usize§max_blocking_tasks: usize§tasks_spawned: u64§tasks_completed: u64§tasks_panicked: u64§runnable_schedules: u64§runnable_polls: u64§queued_runnables: u64§max_queued_runnables: u64§active_runnables: u64§max_active_runnables: u64§blocking_tasks_started: u64§blocking_tasks_completed: u64§active_blocking_tasks: u64§max_active_blocking_tasks: 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 From<RuntimeMetricsSnapshot> for BindingRuntimeMetrics
impl From<RuntimeMetricsSnapshot> for BindingRuntimeMetrics
Source§fn from(value: RuntimeMetricsSnapshot) -> Self
fn from(value: RuntimeMetricsSnapshot) -> Self
Converts to this type from the input type.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more