pub enum RuntimeDiagnosticsScope {
Local,
Subtree,
ProcessShared,
}Expand description
Names the population a V2 diagnostics value covers.
The scope is part of the payload, so a reader never has to infer it from how the view was produced, and a partial value cannot be read as a total.
Variants§
Local
Only the calling group’s own state.
Subtree
The calling group and every descendant group.
State owned once per process and shared by every component.
Trait Implementations§
Source§impl Clone for RuntimeDiagnosticsScope
impl Clone for RuntimeDiagnosticsScope
impl Copy for RuntimeDiagnosticsScope
Source§impl Debug for RuntimeDiagnosticsScope
impl Debug for RuntimeDiagnosticsScope
Source§impl<'de> Deserialize<'de> for RuntimeDiagnosticsScope
impl<'de> Deserialize<'de> for RuntimeDiagnosticsScope
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 RuntimeDiagnosticsScope
Source§impl PartialEq for RuntimeDiagnosticsScope
impl PartialEq for RuntimeDiagnosticsScope
Source§impl Serialize for RuntimeDiagnosticsScope
impl Serialize for RuntimeDiagnosticsScope
impl StructuralPartialEq for RuntimeDiagnosticsScope
Auto Trait Implementations§
impl Freeze for RuntimeDiagnosticsScope
impl RefUnwindSafe for RuntimeDiagnosticsScope
impl Send for RuntimeDiagnosticsScope
impl Sync for RuntimeDiagnosticsScope
impl Unpin for RuntimeDiagnosticsScope
impl UnsafeUnpin for RuntimeDiagnosticsScope
impl UnwindSafe for RuntimeDiagnosticsScope
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