wrpc_transport

Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§

Source§

impl<R, T: ?Sized + Send + 'static> Decode<R> for ResourceBorrow<T>

Source§

impl<R, T: ?Sized + Send + 'static> Decode<R> for ResourceOwn<T>

impl<R> Decode<R> for DeleteResult

impl<R> Decode<R> for DeployResult

impl<R> Decode<R> for GetResult

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

impl<R> Decode<R> for PutResult

impl<R> Decode<R> for StatusResult

impl<R> Decode<R> for StatusType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl<R> Decode<R> for HeaderError

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

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

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

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

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

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

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

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

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