Struct tower::util::MapFutureLayer
source · pub struct MapFutureLayer<F> { /* private fields */ }
Implementations§
source§impl<F> MapFutureLayer<F>
impl<F> MapFutureLayer<F>
sourcepub const fn new(f: F) -> Self
pub const fn new(f: F) -> Self
Creates a new MapFutureLayer
layer.
Trait Implementations§
source§impl<F: Clone> Clone for MapFutureLayer<F>
impl<F: Clone> Clone for MapFutureLayer<F>
source§fn clone(&self) -> MapFutureLayer<F>
fn clone(&self) -> MapFutureLayer<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 for MapFutureLayer<F>
impl<F> Debug for MapFutureLayer<F>
Auto Trait Implementations§
impl<F> Freeze for MapFutureLayer<F>where
F: Freeze,
impl<F> RefUnwindSafe for MapFutureLayer<F>where
F: RefUnwindSafe,
impl<F> Send for MapFutureLayer<F>where
F: Send,
impl<F> Sync for MapFutureLayer<F>where
F: Sync,
impl<F> Unpin for MapFutureLayer<F>where
F: Unpin,
impl<F> UnwindSafe for MapFutureLayer<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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)