Struct tower::util::AndThenLayer
source · pub struct AndThenLayer<F> { /* private fields */ }
Implementations§
source§impl<F> AndThenLayer<F>
impl<F> AndThenLayer<F>
sourcepub fn new(f: F) -> Self
pub fn new(f: F) -> Self
Creates a new AndThenLayer
layer.
Trait Implementations§
source§impl<F: Clone> Clone for AndThenLayer<F>
impl<F: Clone> Clone for AndThenLayer<F>
source§fn clone(&self) -> AndThenLayer<F>
fn clone(&self) -> AndThenLayer<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more