Struct tonic::codec::ProstCodec
source · pub struct ProstCodec<T, U> { /* private fields */ }
Available on crate feature
prost
only.Expand description
A Codec
that implements application/grpc+proto
via the prost library..
Trait Implementations§
source§impl<T: Clone, U: Clone> Clone for ProstCodec<T, U>
impl<T: Clone, U: Clone> Clone for ProstCodec<T, U>
source§fn clone(&self) -> ProstCodec<T, U>
fn clone(&self) -> ProstCodec<T, U>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more