logo
pub trait AsDynProcessor {
    fn as_dyn_processor<'a>(
        self: Arc<Self>
    ) -> Arc<dyn Processor + Sync + Send + 'a>
   where
        Self: 'a
; }
Available on crate feature metrics only.
Expand description

A utility extension to allow upcasting.

Can be removed once trait_upcasting is stablized.

Required Methods

Create an Arc<dyn Processor> from an impl of Processor.

Implementors