pub struct MapRequestLayer<M> { /* private fields */ }
Implementations§
source§impl<M: MapRequest + Clone> MapRequestLayer<M>
impl<M: MapRequest + Clone> MapRequestLayer<M>
pub fn for_mapper(mapper: M) -> Self
Trait Implementations§
source§impl<M: Debug> Debug for MapRequestLayer<M>
impl<M: Debug> Debug for MapRequestLayer<M>
source§impl<M: Default> Default for MapRequestLayer<M>
impl<M: Default> Default for MapRequestLayer<M>
source§fn default() -> MapRequestLayer<M>
fn default() -> MapRequestLayer<M>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<M> RefUnwindSafe for MapRequestLayer<M>where M: RefUnwindSafe,
impl<M> Send for MapRequestLayer<M>where M: Send,
impl<M> Sync for MapRequestLayer<M>where M: Sync,
impl<M> Unpin for MapRequestLayer<M>where M: Unpin,
impl<M> UnwindSafe for MapRequestLayer<M>where M: 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