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