Struct tower::util::AndThenLayer
source · pub struct AndThenLayer<F> { /* private fields */ }
Implementations§
source§impl<F> AndThenLayer<F>
impl<F> AndThenLayer<F>
sourcepub const fn new(f: F) -> Self
pub const 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 moresource§impl<F: Debug> Debug for AndThenLayer<F>
impl<F: Debug> Debug for AndThenLayer<F>
Auto Trait Implementations§
impl<F> Freeze for AndThenLayer<F>where
F: Freeze,
impl<F> RefUnwindSafe for AndThenLayer<F>where
F: RefUnwindSafe,
impl<F> Send for AndThenLayer<F>where
F: Send,
impl<F> Sync for AndThenLayer<F>where
F: Sync,
impl<F> Unpin for AndThenLayer<F>where
F: Unpin,
impl<F> UnwindSafe for AndThenLayer<F>where
F: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)