Struct protokit_grpc::TonicDecoder
source · pub struct TonicDecoder<D>(/* private fields */);
Expand description
A Decoder
that knows how to decode U
.
Trait Implementations§
source§impl<D: Clone> Clone for TonicDecoder<D>
impl<D: Clone> Clone for TonicDecoder<D>
source§fn clone(&self) -> TonicDecoder<D>
fn clone(&self) -> TonicDecoder<D>
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<D: Debug> Debug for TonicDecoder<D>
impl<D: Debug> Debug for TonicDecoder<D>
source§impl<D: Default> Default for TonicDecoder<D>
impl<D: Default> Default for TonicDecoder<D>
source§fn default() -> TonicDecoder<D>
fn default() -> TonicDecoder<D>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<D> Freeze for TonicDecoder<D>
impl<D> RefUnwindSafe for TonicDecoder<D>where
D: RefUnwindSafe,
impl<D> Send for TonicDecoder<D>where
D: Send,
impl<D> Sync for TonicDecoder<D>where
D: Sync,
impl<D> Unpin for TonicDecoder<D>where
D: Unpin,
impl<D> UnwindSafe for TonicDecoder<D>where
D: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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