@@ -305,7 +305,7 @@ impl<S> GrpcRateLimitService<S> {
305305
306306impl < S , B > tower:: Service < Request < B > > for GrpcRateLimitService < S >
307307where
308- S : tower:: Service < Request < B > , Response = Response < tonic:: body:: BoxBody > > ,
308+ S : tower:: Service < Request < B > , Response = Response < tonic:: body:: Body > > ,
309309 S :: Future : Send + ' static ,
310310 B : Send + ' static ,
311311{
@@ -953,7 +953,7 @@ mod tests {
953953 }
954954
955955 impl Service < Request < ( ) > > for CountingGrpcService {
956- type Response = Response < tonic:: body:: BoxBody > ;
956+ type Response = Response < tonic:: body:: Body > ;
957957 type Error = std:: convert:: Infallible ;
958958 type Future = std:: future:: Ready < Result < Self :: Response , Self :: Error > > ;
959959
@@ -963,7 +963,7 @@ mod tests {
963963
964964 fn call ( & mut self , _req : Request < ( ) > ) -> Self :: Future {
965965 self . calls . fetch_add ( 1 , Ordering :: Relaxed ) ;
966- std:: future:: ready ( Ok ( Response :: new ( tonic:: body:: empty_body ( ) ) ) )
966+ std:: future:: ready ( Ok ( Response :: new ( tonic:: body:: Body :: empty ( ) ) ) )
967967 }
968968 }
969969
@@ -985,7 +985,7 @@ mod tests {
985985 }
986986
987987 impl Service < Request < ( ) > > for PendingInnerService {
988- type Response = Response < tonic:: body:: BoxBody > ;
988+ type Response = Response < tonic:: body:: Body > ;
989989 type Error = std:: convert:: Infallible ;
990990 type Future = std:: future:: Ready < Result < Self :: Response , Self :: Error > > ;
991991
@@ -995,7 +995,7 @@ mod tests {
995995
996996 fn call ( & mut self , _req : Request < ( ) > ) -> Self :: Future {
997997 self . calls . fetch_add ( 1 , Ordering :: Relaxed ) ;
998- std:: future:: ready ( Ok ( Response :: new ( tonic:: body:: empty_body ( ) ) ) )
998+ std:: future:: ready ( Ok ( Response :: new ( tonic:: body:: Body :: empty ( ) ) ) )
999999 }
10001000 }
10011001
0 commit comments