zng::update

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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