1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +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

@ -24,7 +24,7 @@ impl Default for InFlight {
}
}
impl<S: Service<R>, R> Transform<R, S> for InFlight {
impl<S: Service<R>, R> Transform<S, R> for InFlight {
type Response = S::Response;
type Error = S::Error;
type InitError = Void;

View File

@ -74,7 +74,7 @@ impl<S> InOrder<S> {
}
}
impl<S, R> Transform<R, S> for InOrder<S>
impl<S, R> Transform<S, R> for InOrder<S>
where
S: Service<R>,
S::Response: 'static,

View File

@ -80,7 +80,7 @@ impl<E> Clone for Timeout<E> {
}
}
impl<S, R, E> Transform<R, S> for Timeout<E>
impl<S, R, E> Transform<S, R> for Timeout<E>
where
S: Service<R>,
{