We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01eca5 commit 13bb667Copy full SHA for 13bb667
grpc/src/codec.rs
@@ -12,11 +12,8 @@ pub(crate) struct BytesCodec {}
12
13
impl Codec for BytesCodec {
14
type Encode = Bytes;
15
-
16
type Decode = Bytes;
17
18
type Encoder = BytesEncoder;
19
20
type Decoder = BytesDecoder;
21
22
fn encoder(&mut self) -> Self::Encoder {
@@ -32,7 +29,6 @@ pub struct BytesEncoder {}
32
29
33
30
impl Encoder for BytesEncoder {
34
31
type Item = Bytes;
35
36
type Error = Status;
37
38
fn encode(&mut self, item: Self::Item, dst: &mut EncodeBuf<'_>) -> Result<(), Self::Error> {
@@ -46,7 +42,6 @@ pub struct BytesDecoder {}
46
42
47
43
impl Decoder for BytesDecoder {
48
44
49
50
45
51
52
fn decode(
0 commit comments