Struct MapRequestLayer
pub struct MapRequestLayer<F> { /* private fields */ }
A Layer that produces MapRequest services.
Implementations
impl<F> MapRequestLayer<F>
const fn new(f: F) -> SelfCreates a new
MapRequestLayer.
Trait Implementations
impl<F: Clone> Clone for MapRequestLayer<F>
fn clone(&self) -> Self
impl<F: Debug> Debug for MapRequestLayer<F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<S, F> Layer<S> for MapRequestLayer<F>
where
F: Clone,
type Service = MapRequest<S, F>;fn layer(&self, inner: S) -> Self::Service