Trait zng_app::update::UpdatesTraceUiNodeExt
source · pub trait UpdatesTraceUiNodeExt: UiNode {
// Required method
fn instrument<S: Into<String>>(self, tag: S) -> BoxedUiNode
where Self: Sized;
}
Expand description
Extension methods for infinite loop diagnostics.
You can also use updates_trace_span
and updates_trace_event
to define custom scopes and entries.
Required Methods§
sourcefn instrument<S: Into<String>>(self, tag: S) -> BoxedUiNodewhere
Self: Sized,
fn instrument<S: Into<String>>(self, tag: S) -> BoxedUiNodewhere
Self: Sized,
Defines a custom span.
Object Safety§
This trait is not object safe.