Trait tonic::codec::Decoder [−][src]
pub trait Decoder {
type Item;
type Error: From<Error>;
fn decode(
&mut self,
src: &mut DecodeBuf<'_>
) -> Result<Option<Self::Item>, Self::Error>;
}
Expand description
Decodes gRPC message types