Struct MapRequestLayer

pub struct MapRequestLayer<F> { /* private fields */ }

A Layer that produces MapRequest services.

Implementations

impl<F> MapRequestLayer<F>

const fn new(f: F) -> Self

Creates a new MapRequestLayer.

Trait Implementations

impl<F: Clone> Clone for MapRequestLayer<F>

fn clone(&self) -> Self

impl<F: Debug> Debug for MapRequestLayer<F>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<S, F> Layer<S> for MapRequestLayer<F> where F: Clone,

type Service = MapRequest<S, F>;
fn layer(&self, inner: S) -> Self::Service

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> UnsafeUnpin for MapRequestLayer<F> where F: UnsafeUnpin,

impl<F> UnwindSafe for MapRequestLayer<F> where F: UnwindSafe,

Blanket Implementations

impl<T> Any for MapRequestLayer<F> where T: 'static + ?Sized,

impl<T> Borrow<T> for MapRequestLayer<F> where T: ?Sized,

impl<T> BorrowMut<T> for MapRequestLayer<F> where T: ?Sized,

impl<T> CloneToUninit for MapRequestLayer<F> where T: Clone,

impl<T> From<T> for MapRequestLayer<F>

impl<T> Instrument for MapRequestLayer<F>

impl<T> ToOwned for MapRequestLayer<F> where T: Clone,

impl<T> WithSubscriber for MapRequestLayer<F>

impl<T, U> Into<U> for MapRequestLayer<F> where U: From<T>,

impl<T, U> TryFrom<U> for MapRequestLayer<F> where U: Into<T>,

impl<T, U> TryInto<U> for MapRequestLayer<F> where U: TryFrom<T>,