mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-27 15:35:53 +02:00
add extra constraints
This commit is contained in:
@@ -443,7 +443,7 @@ where
|
||||
}
|
||||
|
||||
/// `Service` implementation for http transport
|
||||
pub struct HttpServiceHandler<T, S, B, X, U> {
|
||||
pub struct HttpServiceHandler<T, S: Service, B, X: Service, U: Service> {
|
||||
srv: CloneableService<S>,
|
||||
expect: CloneableService<X>,
|
||||
upgrade: Option<CloneableService<U>>,
|
||||
|
Reference in New Issue
Block a user