pub trait Decoder {
type Item;
type Error: From<Error>;
// Required method
fn decode(
&mut self,
src: &mut DecodeBuf<'_>,
) -> Result<Option<Self::Item>, Self::Error>;
}
Expand description
Decodes gRPC message types