1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-24 10:35:34 +02:00

change generics order for Transform trait

This commit is contained in:
Nikolay Kim
2019-03-05 09:49:08 -08:00
parent aa2967c653
commit 1153715149
9 changed files with 37 additions and 40 deletions

View File

@@ -210,9 +210,9 @@ pub trait NewService<Request, Config = ()> {
) -> AndThenTransform<T, Self, B, Req>
where
Self: Sized,
T: Transform<Self::Response, B::Service, InitError = Self::InitError>,
T: Transform<B::Service, Self::Response, InitError = Self::InitError>,
T::Error: From<Self::Error>,
T1: IntoTransform<T, Self::Response, B::Service>,
T1: IntoTransform<T, B::Service, Self::Response>,
B: NewService<Req, Config, InitError = Self::InitError>,
B1: IntoNewService<B, Req, Config>,
{