pub struct RuntimeTaskDetailV2 {
pub kind: RuntimeTaskKindV1,
pub scope: RuntimeDiagnosticsScope,
pub elapsed_millis: u64,
}Expand description
One bounded task detail.
Carries a bounded category, the population it was observed in, and its elapsed time. Task names, group names, and identifiers are deliberately excluded because they are caller-provided labels.
Fields§
§kind: RuntimeTaskKindV1Bounded task category.
scope: RuntimeDiagnosticsScopeThe population the task was observed in.
elapsed_millis: u64Elapsed time since the task started, in milliseconds.
Trait Implementations§
Source§impl Clone for RuntimeTaskDetailV2
impl Clone for RuntimeTaskDetailV2
Source§impl Debug for RuntimeTaskDetailV2
impl Debug for RuntimeTaskDetailV2
Source§impl<'de> Deserialize<'de> for RuntimeTaskDetailV2
impl<'de> Deserialize<'de> for RuntimeTaskDetailV2
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
impl Eq for RuntimeTaskDetailV2
Source§impl PartialEq for RuntimeTaskDetailV2
impl PartialEq for RuntimeTaskDetailV2
Source§impl Serialize for RuntimeTaskDetailV2
impl Serialize for RuntimeTaskDetailV2
impl StructuralPartialEq for RuntimeTaskDetailV2
Auto Trait Implementations§
impl Freeze for RuntimeTaskDetailV2
impl RefUnwindSafe for RuntimeTaskDetailV2
impl Send for RuntimeTaskDetailV2
impl Sync for RuntimeTaskDetailV2
impl Unpin for RuntimeTaskDetailV2
impl UnsafeUnpin for RuntimeTaskDetailV2
impl UnwindSafe for RuntimeTaskDetailV2
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