Trait AsyncInstrumentCore

Source
pub trait AsyncInstrumentCore: InstrumentCore {
    // Required method
    fn as_any(&self) -> &dyn Any;
}
Available on crate feature metrics only.
Expand description

An implementation-level interface to an asynchronous instrument (e.g., Observer instruments).

Required Methods§

Source

fn as_any(&self) -> &dyn Any

The underlying type as Any to support downcasting.

Implementors§