Struct actix_optional_middleware::DummyMiddleware [−][src]
pub struct DummyMiddleware<S> { /* fields omitted */ }
Expand description
Dummy Middleware: it simply forwards the request without operating on it
Trait Implementations
impl<S, Req> Service<Req> for DummyMiddleware<S> where
S: Service<Req, Response = ServiceResponse<BoxBody>, Error = Error>,
S::Future: 'static,
impl<S, Req> Service<Req> for DummyMiddleware<S> where
S: Service<Req, Response = ServiceResponse<BoxBody>, Error = Error>,
S::Future: 'static,
Auto Trait Implementations
impl<S> RefUnwindSafe for DummyMiddleware<S> where
S: RefUnwindSafe,
impl<S> Send for DummyMiddleware<S> where
S: Send,
impl<S> Sync for DummyMiddleware<S> where
S: Sync,
impl<S> Unpin for DummyMiddleware<S> where
S: Unpin,
impl<S> UnwindSafe for DummyMiddleware<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_service(self) -> S
pub fn into_service(self) -> S
Convert to a Service
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more