Trait wrpc_transport::Decode

source ·
pub trait Decode<T>: Sized {
    type Decoder: Decoder<Item = Self> + Deferred<Incoming<T>> + Default + Send + 'static;
    type ListDecoder: Decoder<Item = Vec<Self>> + Default + 'static;
}
Expand description

Defines value decoding

Required Associated Types§

source

type Decoder: Decoder<Item = Self> + Deferred<Incoming<T>> + Default + Send + 'static

Decoder used to decode value

source

type ListDecoder: Decoder<Item = Vec<Self>> + Default + 'static

Decoder used to decode lists of value

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<O, E, R> Decode<R> for Result<O, E>
where O: Decode<R>, E: Decode<R>, R: Index<R> + Send + 'static, Error: From<<O::Decoder as Decoder>::Error> + From<<E::Decoder as Decoder>::Error>,

source§

impl<R> Decode<R> for bool

source§

impl<R> Decode<R> for char

source§

impl<R> Decode<R> for f32

source§

impl<R> Decode<R> for f64

source§

impl<R> Decode<R> for i8

source§

impl<R> Decode<R> for i16

source§

impl<R> Decode<R> for i32

source§

impl<R> Decode<R> for i64

source§

impl<R> Decode<R> for u8

source§

impl<R> Decode<R> for u16

source§

impl<R> Decode<R> for u32

source§

impl<R> Decode<R> for u64

source§

impl<R> Decode<R> for ()

source§

impl<R> Decode<R> for Bytes

source§

impl<R> Decode<R> for String

source§

impl<R> Decode<R> for Pin<Box<dyn Stream<Item = Bytes> + Send>>
where R: AsyncRead + Index<R> + Send + Sync + Unpin + 'static,

source§

impl<R> Decode<R> for Pin<Box<dyn AsyncRead + Send>>
where R: AsyncRead + Index<R> + Send + Sync + Unpin + 'static,

source§

impl<R, E, V0> Decode<R> for (V0,)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static,

source§

impl<R, E, V0, V1> Decode<R> for (V0, V1)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder), (Option<V0>, Option<V1>)>

source§

type ListDecoder = ListDecoder<<(V0, V1) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2> Decode<R> for (V0, V1, V2)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3> Decode<R> for (V0, V1, V2, V3)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4> Decode<R> for (V0, V1, V2, V3, V4)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5> Decode<R> for (V0, V1, V2, V3, V4, V5)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6> Decode<R> for (V0, V1, V2, V3, V4, V5, V6)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static, V11: Decode<R> + Send + 'static, V11::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder, <V11 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>, Option<V11>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static, V11: Decode<R> + Send + 'static, V11::Decoder: Decoder<Error = E> + Send + 'static, V12: Decode<R> + Send + 'static, V12::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder, <V11 as Decode<R>>::Decoder, <V12 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>, Option<V11>, Option<V12>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static, V11: Decode<R> + Send + 'static, V11::Decoder: Decoder<Error = E> + Send + 'static, V12: Decode<R> + Send + 'static, V12::Decoder: Decoder<Error = E> + Send + 'static, V13: Decode<R> + Send + 'static, V13::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder, <V11 as Decode<R>>::Decoder, <V12 as Decode<R>>::Decoder, <V13 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>, Option<V11>, Option<V12>, Option<V13>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static, V11: Decode<R> + Send + 'static, V11::Decoder: Decoder<Error = E> + Send + 'static, V12: Decode<R> + Send + 'static, V12::Decoder: Decoder<Error = E> + Send + 'static, V13: Decode<R> + Send + 'static, V13::Decoder: Decoder<Error = E> + Send + 'static, V14: Decode<R> + Send + 'static, V14::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder, <V11 as Decode<R>>::Decoder, <V12 as Decode<R>>::Decoder, <V13 as Decode<R>>::Decoder, <V14 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>, Option<V11>, Option<V12>, Option<V13>, Option<V14>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14) as Decode<R>>::Decoder, R>

source§

impl<R, E, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15> Decode<R> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)
where R: Index<R> + Send + Sync + 'static, E: From<Error>, V0: Decode<R> + Send + 'static, V0::Decoder: Decoder<Error = E> + Send + 'static, V1: Decode<R> + Send + 'static, V1::Decoder: Decoder<Error = E> + Send + 'static, V2: Decode<R> + Send + 'static, V2::Decoder: Decoder<Error = E> + Send + 'static, V3: Decode<R> + Send + 'static, V3::Decoder: Decoder<Error = E> + Send + 'static, V4: Decode<R> + Send + 'static, V4::Decoder: Decoder<Error = E> + Send + 'static, V5: Decode<R> + Send + 'static, V5::Decoder: Decoder<Error = E> + Send + 'static, V6: Decode<R> + Send + 'static, V6::Decoder: Decoder<Error = E> + Send + 'static, V7: Decode<R> + Send + 'static, V7::Decoder: Decoder<Error = E> + Send + 'static, V8: Decode<R> + Send + 'static, V8::Decoder: Decoder<Error = E> + Send + 'static, V9: Decode<R> + Send + 'static, V9::Decoder: Decoder<Error = E> + Send + 'static, V10: Decode<R> + Send + 'static, V10::Decoder: Decoder<Error = E> + Send + 'static, V11: Decode<R> + Send + 'static, V11::Decoder: Decoder<Error = E> + Send + 'static, V12: Decode<R> + Send + 'static, V12::Decoder: Decoder<Error = E> + Send + 'static, V13: Decode<R> + Send + 'static, V13::Decoder: Decoder<Error = E> + Send + 'static, V14: Decode<R> + Send + 'static, V14::Decoder: Decoder<Error = E> + Send + 'static, V15: Decode<R> + Send + 'static, V15::Decoder: Decoder<Error = E> + Send + 'static,

source§

type Decoder = TupleDecoder<(<V0 as Decode<R>>::Decoder, <V1 as Decode<R>>::Decoder, <V2 as Decode<R>>::Decoder, <V3 as Decode<R>>::Decoder, <V4 as Decode<R>>::Decoder, <V5 as Decode<R>>::Decoder, <V6 as Decode<R>>::Decoder, <V7 as Decode<R>>::Decoder, <V8 as Decode<R>>::Decoder, <V9 as Decode<R>>::Decoder, <V10 as Decode<R>>::Decoder, <V11 as Decode<R>>::Decoder, <V12 as Decode<R>>::Decoder, <V13 as Decode<R>>::Decoder, <V14 as Decode<R>>::Decoder, <V15 as Decode<R>>::Decoder), (Option<V0>, Option<V1>, Option<V2>, Option<V3>, Option<V4>, Option<V5>, Option<V6>, Option<V7>, Option<V8>, Option<V9>, Option<V10>, Option<V11>, Option<V12>, Option<V13>, Option<V14>, Option<V15>)>

source§

type ListDecoder = ListDecoder<<(V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15) as Decode<R>>::Decoder, R>

source§

impl<T, R> Decode<R> for Option<T>
where T: Decode<R>, R: Index<R> + Send + 'static,

source§

impl<T, R> Decode<R> for Vec<T>
where T: Decode<R> + Send, T::ListDecoder: Deferred<Incoming<R>> + Send, R: Index<R> + Send + 'static,

source§

impl<T, R> Decode<R> for Pin<Box<dyn Stream<Item = Vec<T>> + Send>>
where T: Decode<R> + Send + 'static, T::ListDecoder: Deferred<Incoming<R>> + Send, R: AsyncRead + Index<R> + Send + Sync + Unpin + 'static, <T::Decoder as Decoder>::Error: Send, Error: From<<T::Decoder as Decoder>::Error>,

source§

type Decoder = StreamDecoder<T, R>

source§

type ListDecoder = ListDecoder<<Pin<Box<dyn Stream<Item = Vec<T>> + Send>> as Decode<R>>::Decoder, R>

source§

impl<T, R> Decode<R> for Pin<Box<dyn Future<Output = T> + Send>>
where T: Decode<R> + Send + 'static, R: AsyncRead + Index<R> + Send + Sync + Unpin + 'static, Error: From<<T::Decoder as Decoder>::Error>,

source§

type Decoder = FutureDecoder<T, R>

source§

type ListDecoder = ListDecoder<<Pin<Box<dyn Future<Output = T> + Send>> as Decode<R>>::Decoder, R>

Implementors§