Skip to main content

ScopeExt

Trait ScopeExt 

Source
pub trait ScopeExt: Sized {
    // Required method
    fn with_label(&mut self) -> LabelledScope<Self>;
}
Expand description

Extension trait for timely Scope that allows one to convert a scope into one that sets its name as a profiling label before scheduling its child operators.

Required Methods§

Source

fn with_label(&mut self) -> LabelledScope<Self>

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<S> ScopeExt for S
where S: Scope + ScopeParent,