Struct google_cloud_gax::grpc::codec::ProstCodec
source · pub struct ProstCodec<T, U> { /* private fields */ }Expand description
A Codec that implements application/grpc+proto via the prost library..
Trait Implementations§
source§impl<T, U> Clone for ProstCodec<T, U>where
T: Clone,
U: Clone,
impl<T, U> Clone for ProstCodec<T, U>where T: Clone, U: Clone,
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 moresource§impl<T, U> Codec for ProstCodec<T, U>where
T: Message + Send + 'static,
U: Message + Default + Send + 'static,
impl<T, U> Codec for ProstCodec<T, U>where T: Message + Send + 'static, U: Message + Default + Send + 'static,
source§impl<T, U> Default for ProstCodec<T, U>
impl<T, U> Default for ProstCodec<T, U>
source§fn default() -> ProstCodec<T, U>
fn default() -> ProstCodec<T, U>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for ProstCodec<T, U>where T: RefUnwindSafe, U: RefUnwindSafe,
impl<T, U> Send for ProstCodec<T, U>where T: Send, U: Send,
impl<T, U> Sync for ProstCodec<T, U>where T: Sync, U: Sync,
impl<T, U> Unpin for ProstCodec<T, U>where T: Unpin, U: Unpin,
impl<T, U> UnwindSafe for ProstCodec<T, U>where T: UnwindSafe, U: UnwindSafe,
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request