File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ phf = "0.8"
49
49
postgres-protocol = { version = " 0.5.0" , path = " ../postgres-protocol" }
50
50
postgres-types = { version = " 0.1.0" , path = " ../postgres-types" }
51
51
tokio = { version = " 0.2" , features = [" io-util" ] }
52
- tokio-util = { version = " 0.2 " , features = [" codec" ] }
52
+ tokio-util = { version = " 0.3 " , features = [" codec" ] }
53
53
54
54
[dev-dependencies ]
55
55
tokio = { version = " 0.2" , features = [" full" ] }
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ impl FallibleIterator for BackendMessages {
37
37
38
38
pub struct PostgresCodec ;
39
39
40
- impl Encoder for PostgresCodec {
41
- type Item = FrontendMessage ;
40
+ impl Encoder < FrontendMessage > for PostgresCodec {
42
41
type Error = io:: Error ;
43
42
44
43
fn encode ( & mut self , item : FrontendMessage , dst : & mut BytesMut ) -> io:: Result < ( ) > {
You can’t perform that action at this time.
0 commit comments