pub struct ProstDecoder<U>(_);
Expand description
A Decoder
that knows how to decode U
.
Trait Implementations
sourceimpl<U: Clone> Clone for ProstDecoder<U>
impl<U: Clone> Clone for ProstDecoder<U>
sourcefn clone(&self) -> ProstDecoder<U>
fn clone(&self) -> ProstDecoder<U>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<U: Debug> Debug for ProstDecoder<U>
impl<U: Debug> Debug for ProstDecoder<U>
sourceimpl<U: Message + Default> Decoder for ProstDecoder<U>
impl<U: Message + Default> Decoder for ProstDecoder<U>
sourceimpl<U: Default> Default for ProstDecoder<U>
impl<U: Default> Default for ProstDecoder<U>
sourcefn default() -> ProstDecoder<U>
fn default() -> ProstDecoder<U>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<U> RefUnwindSafe for ProstDecoder<U>where
U: RefUnwindSafe,
impl<U> Send for ProstDecoder<U>where
U: Send,
impl<U> Sync for ProstDecoder<U>where
U: Sync,
impl<U> Unpin for ProstDecoder<U>where
U: Unpin,
impl<U> UnwindSafe for ProstDecoder<U>where
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request