Struct tonic_mock::ProstDecoder[][src]

pub struct ProstDecoder<U>(_);

A Decoder that knows how to decode U.

Implementations

impl<U> ProstDecoder<U>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<U: Clone> Clone for ProstDecoder<U>[src]

impl<U: Debug> Debug for ProstDecoder<U>[src]

impl<U: Message + Default> Decoder for ProstDecoder<U>[src]

type Item = U

The type that is decoded.

type Error = Status

The type of unrecoverable frame decoding errors.

impl<U: Default> Default for ProstDecoder<U>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]