pub trait InstrumentExt<CurrentPlugin> {
// Required method
fn instrument(
self,
) -> HttpPlugins<PluginStack<InstrumentPlugin, CurrentPlugin>>;
}
Expand description
An extension trait for applying InstrumentPlugin
.
Required Methods§
sourcefn instrument(self) -> HttpPlugins<PluginStack<InstrumentPlugin, CurrentPlugin>>
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.