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