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:
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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>,
|
||||
{
|
||||
|
Reference in New Issue
Block a user