Struct tonic::codec::ProstCodec [−][src]
pub struct ProstCodec<T, U> { /* fields omitted */ }
A Codec
that implements application/grpc+proto
via the prost library..
Trait Implementations
impl<T: Clone, U: Clone> Clone for ProstCodec<T, U>
[src]
impl<T: Clone, U: Clone> Clone for ProstCodec<T, U>
[src]fn clone(&self) -> ProstCodec<T, U>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, U> Codec for ProstCodec<T, U> where
T: Message + Send + 'static,
U: Message + Default + Send + 'static,
[src]
impl<T, U> Codec for ProstCodec<T, U> where
T: Message + Send + 'static,
U: Message + Default + Send + 'static,
[src]type Encode = T
The encodable message.
type Decode = U
The decodable message.
type Encoder = ProstEncoder<T>
The encoder that can encode a message.
type Decoder = ProstDecoder<U>
The encoder that can decode a message.
fn encoder(&mut self) -> Self::Encoder
[src]
fn decoder(&mut self) -> Self::Decoder
[src]
impl<T: Debug, U: Debug> Debug for ProstCodec<T, U>
[src]
impl<T: Debug, U: Debug> Debug for ProstCodec<T, U>
[src]impl<T, U> Default for ProstCodec<T, U>
[src]
impl<T, U> Default for ProstCodec<T, U>
[src]Auto Trait Implementations
impl<T, U> RefUnwindSafe for ProstCodec<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
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> 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> 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> Unpin for ProstCodec<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for ProstCodec<T, U> where
T: UnwindSafe,
U: UnwindSafe,
impl<T, U> UnwindSafe for ProstCodec<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
[src]
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;