Trait aws_smithy_http_server::plugin::Plugin
source · pub trait Plugin<Protocol, Op, S, L> {
type Service;
type Layer;
// Required method
fn map(
&self,
input: Operation<S, L>
) -> Operation<Self::Service, Self::Layer>;
}Expand description
A mapping from one Operation to another. Used to modify the behavior of
Upgradable and therefore the resulting service builder.
The generics Protocol and Op allow the behavior to be parameterized.
See module documentation for more information.