Trait tonic::codec::Encoder [−][src]
pub trait Encoder {
type Item;
type Error: From<Error>;
fn encode(
&mut self,
item: Self::Item,
dst: &mut EncodeBuf<'_>
) -> Result<(), Self::Error>;
}
Expand description
Encodes gRPC message types