Struct volo_http::layer::FilterLayer
source · pub struct FilterLayer<F> { /* private fields */ }Trait Implementations§
source§impl<S, F> Layer<S> for FilterLayer<F>where
S: Service<HttpContext, Request, Response = Response> + Send + Sync + 'static,
F: Fn(&mut HttpContext, &Request) -> Result<(), StatusCode> + Send + Sync,
impl<S, F> Layer<S> for FilterLayer<F>where
S: Service<HttpContext, Request, Response = Response> + Send + Sync + 'static,
F: Fn(&mut HttpContext, &Request) -> Result<(), StatusCode> + Send + Sync,
Auto Trait Implementations§
impl<F> RefUnwindSafe for FilterLayer<F>where
F: RefUnwindSafe,
impl<F> Send for FilterLayer<F>where
F: Send,
impl<F> Sync for FilterLayer<F>where
F: Sync,
impl<F> Unpin for FilterLayer<F>where
F: Unpin,
impl<F> UnwindSafe for FilterLayer<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