Struct actix_optional_middleware::Dummy [−][src]
pub struct Dummy;
Expand description
Dummy Middleware: it simply forwards the request without operating on it
Trait Implementations
type Response = ServiceResponse<BoxBody>
type Response = ServiceResponse<BoxBody>
Responses produced by the service.
type Error = Error
type Error = Error
Errors produced by the service.
type Transform = DummyMiddleware<S>
type Transform = DummyMiddleware<S>
The TransformService
value created by this factory
Creates and returns a new Transform component, asynchronously
Auto Trait Implementations
impl RefUnwindSafe for Dummy
impl UnwindSafe for Dummy
Blanket Implementations
Mutably borrows from an owned value. Read more
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