File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 1
- use bytes:: Bytes ;
2
1
use http:: header:: CONTENT_TYPE ;
3
2
use http:: { Request , Response , Version } ;
4
- use http_body:: Body ;
5
3
use pin_project:: pin_project;
6
- use std:: error:: Error ;
7
4
use std:: future:: Future ;
8
5
use std:: pin:: Pin ;
9
6
use std:: task:: { ready, Context , Poll } ;
@@ -53,9 +50,6 @@ impl<S> GrpcWebClientService<S> {
53
50
impl < S , B1 , B2 > Service < Request < B1 > > for GrpcWebClientService < S >
54
51
where
55
52
S : Service < Request < GrpcWebCall < B1 > > , Response = Response < B2 > > ,
56
- B1 : Body ,
57
- B2 : Body < Data = Bytes > ,
58
- B2 :: Error : Error ,
59
53
{
60
54
type Response = Response < GrpcWebCall < B2 > > ;
61
55
type Error = S :: Error ;
@@ -94,7 +88,6 @@ pub struct ResponseFuture<F> {
94
88
95
89
impl < F , B , E > Future for ResponseFuture < F >
96
90
where
97
- B : Body < Data = Bytes > ,
98
91
F : Future < Output = Result < Response < B > , E > > ,
99
92
{
100
93
type Output = Result < Response < GrpcWebCall < B > > , E > ;
You can’t perform that action at this time.
0 commit comments