pub trait InstrumentExt<CurrentPlugin> {
    // Required method
    fn instrument(
        self,
    ) -> HttpPlugins<PluginStack<InstrumentPlugin, CurrentPlugin>>;
}
Expand description

An extension trait for applying InstrumentPlugin.

Required Methods§

source

fn instrument(self) -> HttpPlugins<PluginStack<InstrumentPlugin, CurrentPlugin>>

Applies an InstrumentOperation to every operation, respecting the @sensitive trait given on the input and output models. See InstrumentOperation for more information.

Implementors§

source§

impl<CurrentPlugin> InstrumentExt<CurrentPlugin> for HttpPlugins<CurrentPlugin>