mysten_metrics

Trait MonitoredFutureExt

Source
pub trait MonitoredFutureExt: Future + Sized {
    // Required method
    fn in_monitored_scope(
        self,
        name: &'static str,
    ) -> MonitoredScopeFuture<Self> ;
}

Required Methods§

Source

fn in_monitored_scope(self, name: &'static str) -> MonitoredScopeFuture<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§