zng_app::update

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

Source

fn instrument<S: Into<String>>(self, tag: S) -> BoxedUiNode
where 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§