diff options
| author | Max Audron <audron@cocaine.farm> | 2021-01-02 19:57:45 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-01-02 19:57:45 +0100 |
| commit | 873310475d60676891a41aaa480d15422d002ad9 (patch) | |
| tree | e5bd54c8febcb740c472557433f6293d2cd77095 /src/frame | |
| parent | rework handshakemessage parsing (diff) | |
update dependencies
Diffstat (limited to 'src/frame')
| -rw-r--r-- | src/frame/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frame/mod.rs b/src/frame/mod.rs index 709d3af..cbeddb0 100644 --- a/src/frame/mod.rs +++ b/src/frame/mod.rs @@ -195,8 +195,7 @@ impl Decoder for QuasselCodec { } } -impl Encoder for QuasselCodec { - type Item = Vec<u8>; +impl Encoder<Vec<u8>> for QuasselCodec { type Error = io::Error; fn encode(&mut self, data: Vec<u8>, dst: &mut BytesMut) -> Result<(), io::Error> { |
