pub trait HttpMarker { }
Expand description

A HTTP plugin is a plugin that acts on the HTTP request before it is deserialized, and acts on the HTTP response after it is serialized.

This trait is a marker trait to indicate that a plugin can be registered as an HTTP plugin.

Compare with ModelMarker in the module documentation, which contains an example implementation too.

Implementations on Foreign Types§

source§

impl<'a, Pl> HttpMarker for &'a Pl
where Pl: HttpMarker,

Implementors§

source§

impl HttpMarker for OperationExtensionPlugin

source§

impl HttpMarker for InstrumentPlugin

source§

impl HttpMarker for IdentityPlugin

source§

impl<Inner, F> HttpMarker for FilterByOperation<Inner, F>
where Inner: HttpMarker,

source§

impl<Inner, Outer> HttpMarker for PluginStack<Inner, Outer>
where Inner: HttpMarker, Outer: HttpMarker,

source§

impl<InnerPlugin> HttpMarker for HttpPlugins<InnerPlugin>
where InnerPlugin: HttpMarker,

source§

impl<L> HttpMarker for LayerPlugin<L>

source§

impl<Scope, Pl> HttpMarker for Scoped<Scope, Pl>
where Pl: HttpMarker,