Enum actix_optional_middleware::GroupMiddleware [−][src]
pub enum GroupMiddleware<D, R> where
D: Service<ServiceRequest>,
R: Service<ServiceRequest>, {
Dummy(Rc<D>),
Real(Rc<R>),
}
Variants
Dummy(Rc<D>)
Tuple Fields of Dummy
0: Rc<D>
Real(Rc<R>)
Tuple Fields of Real
0: Rc<R>
Trait Implementations
impl<D, R> Service<ServiceRequest> for GroupMiddleware<D, R> where
D: Service<ServiceRequest, Error = Error, Response = ServiceResponse> + 'static,
R: Service<ServiceRequest, Error = Error, Response = ServiceResponse> + 'static,
impl<D, R> Service<ServiceRequest> for GroupMiddleware<D, R> where
D: Service<ServiceRequest, Error = Error, Response = ServiceResponse> + 'static,
R: Service<ServiceRequest, Error = Error, Response = ServiceResponse> + 'static,
Auto Trait Implementations
impl<D, R> !RefUnwindSafe for GroupMiddleware<D, R>
impl<D, R> !Send for GroupMiddleware<D, R>
impl<D, R> !Sync for GroupMiddleware<D, R>
impl<D, R> Unpin for GroupMiddleware<D, R>
impl<D, R> UnwindSafe for GroupMiddleware<D, R> where
D: RefUnwindSafe,
R: RefUnwindSafe,
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