pub struct MapRequestLayer<F> { /* private fields */ }
Available on crate feature
util
only.Expand description
A Layer
that produces MapRequest
services.
Implementations§
Source§impl<F> MapRequestLayer<F>
impl<F> MapRequestLayer<F>
Sourcepub const fn new(f: F) -> Self
pub const fn new(f: F) -> Self
Creates a new MapRequestLayer
.
Trait Implementations§
Source§impl<F: Clone> Clone for MapRequestLayer<F>
impl<F: Clone> Clone for MapRequestLayer<F>
Source§fn clone(&self) -> MapRequestLayer<F>
fn clone(&self) -> MapRequestLayer<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 MapRequestLayer<F>
impl<F: Debug> Debug for MapRequestLayer<F>
Auto Trait Implementations§
impl<F> Freeze for MapRequestLayer<F>where
F: Freeze,
impl<F> RefUnwindSafe for MapRequestLayer<F>where
F: RefUnwindSafe,
impl<F> Send for MapRequestLayer<F>where
F: Send,
impl<F> Sync for MapRequestLayer<F>where
F: Sync,
impl<F> Unpin for MapRequestLayer<F>where
F: Unpin,
impl<F> UnwindSafe for MapRequestLayer<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,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.