File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ impl Outbound<()> {
148148 C : tonic:: client:: GrpcService < tonic:: body:: BoxBody , Error = Error > ,
149149 C : Clone + Unpin + Send + Sync + ' static ,
150150 C :: ResponseBody : proxy:: http:: Body < Data = tonic:: codegen:: Bytes , Error = Error > ,
151- C :: ResponseBody : Default + Send + ' static ,
151+ C :: ResponseBody : Send + ' static ,
152152 C :: Future : Send ,
153153 {
154154 policy:: Api :: new ( workload, limits, Duration :: from_secs ( 10 ) , client)
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ static INVALID_POLICY: once_cell::sync::OnceCell<ClientPolicy> = once_cell::sync
3333impl < S > Api < S >
3434where
3535 S : tonic:: client:: GrpcService < tonic:: body:: BoxBody , Error = Error > + Clone ,
36- S :: ResponseBody :
37- http:: Body < Data = tonic:: codegen:: Bytes , Error = Error > + Default + Send + ' static ,
36+ S :: ResponseBody : http:: Body < Data = tonic:: codegen:: Bytes , Error = Error > + Send + ' static ,
3837{
3938 pub ( crate ) fn new (
4039 workload : Arc < str > ,
@@ -59,8 +58,7 @@ impl<S> Service<Addr> for Api<S>
5958where
6059 S : tonic:: client:: GrpcService < tonic:: body:: BoxBody , Error = Error > ,
6160 S : Clone + Send + Sync + ' static ,
62- S :: ResponseBody :
63- http:: Body < Data = tonic:: codegen:: Bytes , Error = Error > + Default + Send + ' static ,
61+ S :: ResponseBody : http:: Body < Data = tonic:: codegen:: Bytes , Error = Error > + Send + ' static ,
6462 S :: Future : Send + ' static ,
6563{
6664 type Response =
You can’t perform that action at this time.
0 commit comments