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