pub trait SmithyMiddleware<C>: Layer<DispatchService<C>, Service = Self::Service> {
    type Service: SmithyMiddlewareService + Send + Sync + Clone + 'static;
}
Expand description

A Smithy middleware layer (i.e., factory).

This trait has a blanket implementation for all compatible types, and should never be implemented.

Required Associated Types§

source

type Service: SmithyMiddlewareService + Send + Sync + Clone + 'static

Forwarding type to <Self as Layer>::Service for bound inference.

See module-level docs for details.

Implementors§

source§

impl<T, C> SmithyMiddleware<C> for Twhere T: Layer<DispatchService<C>>, T::Service: SmithyMiddlewareService + Send + Sync + Clone + 'static,