pub struct RuntimeSnapshot {
pub at_unix_ms: u64,
pub alive_tasks: Option<u64>,
pub global_queue_depth: Option<u64>,
pub local_queue_depth: Option<u64>,
pub blocking_queue_depth: Option<u64>,
pub remote_schedule_count: Option<u64>,
}Expand description
Point-in-time runtime metrics sample.
Fields§
§at_unix_ms: u64Timestamp (milliseconds since epoch UTC).
alive_tasks: Option<u64>Number of alive tasks.
global_queue_depth: Option<u64>Runtime global queue depth.
local_queue_depth: Option<u64>Aggregated runtime local queue depth across worker threads.
blocking_queue_depth: Option<u64>Runtime blocking pool queue depth.
remote_schedule_count: Option<u64>Runtime remote schedule count.
Trait Implementations§
Source§impl Clone for RuntimeSnapshot
impl Clone for RuntimeSnapshot
Source§fn clone(&self) -> RuntimeSnapshot
fn clone(&self) -> RuntimeSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeSnapshot
impl Debug for RuntimeSnapshot
Source§impl<'de> Deserialize<'de> for RuntimeSnapshot
impl<'de> Deserialize<'de> for RuntimeSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeSnapshot
impl PartialEq for RuntimeSnapshot
Source§impl Serialize for RuntimeSnapshot
impl Serialize for RuntimeSnapshot
impl Eq for RuntimeSnapshot
impl StructuralPartialEq for RuntimeSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeSnapshot
impl RefUnwindSafe for RuntimeSnapshot
impl Send for RuntimeSnapshot
impl Sync for RuntimeSnapshot
impl Unpin for RuntimeSnapshot
impl UnsafeUnpin for RuntimeSnapshot
impl UnwindSafe for RuntimeSnapshot
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