Trait zng::update::UpdatesTraceUiNodeExt

source ·
pub trait UpdatesTraceUiNodeExt: UiNode {
    // Required method
    fn instrument<S>(self, tag: S) -> Box<dyn UiNodeBoxed>
       where S: Into<String>,
             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§

source

fn instrument<S>(self, tag: S) -> Box<dyn UiNodeBoxed>
where S: Into<String>, Self: Sized,

Defines a custom span.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<U> UpdatesTraceUiNodeExt for U
where U: UiNode,