pub struct Filter<S, H, R, T> { /* private fields */ }Trait Implementations§
source§impl<S, H, R, T> Service<HttpContext, Incoming> for Filter<S, H, R, T>where
S: Service<HttpContext, Incoming, Response = Response, Error = Infallible> + Send + Sync + 'static,
H: HandlerWithoutRequest<T, Result<(), R>> + Clone + Send + Sync + 'static,
R: IntoResponse + Send + Sync,
T: Sync,
impl<S, H, R, T> Service<HttpContext, Incoming> for Filter<S, H, R, T>where
S: Service<HttpContext, Incoming, Response = Response, Error = Infallible> + Send + Sync + 'static,
H: HandlerWithoutRequest<T, Result<(), R>> + Clone + Send + Sync + 'static,
R: IntoResponse + Send + Sync,
T: Sync,
Auto Trait Implementations§
impl<S, H, R, T> RefUnwindSafe for Filter<S, H, R, T>
impl<S, H, R, T> Send for Filter<S, H, R, T>
impl<S, H, R, T> Sync for Filter<S, H, R, T>
impl<S, H, R, T> Unpin for Filter<S, H, R, T>
impl<S, H, R, T> UnwindSafe for Filter<S, H, R, T>
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
impl<T, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
source§fn map_err<E, F>(self, f: F) -> MapErr<T, F>
fn map_err<E, F>(self, f: F) -> MapErr<T, F>
Maps this service’s error value to a different value. Read more
source§fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
Maps this service’s response value to a different value. Read more