Skip to main content

Decode

Trait Decode 

Source
pub trait Decode: Sized {
    type Decoder: Decoder<Item = Self> + Deferred<BufferedIncoming> + 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<BufferedIncoming> + 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".

Implementations on Foreign Types§

Source§

impl Decode for ()

Source§

impl Decode for Bytes

Source§

impl Decode for Pin<Box<dyn AsyncRead + Send>>

Source§

impl Decode for Pin<Box<dyn Stream<Item = Bytes> + Send>>

Source§

impl Decode for String

Source§

impl Decode for bool

Source§

impl Decode for char

Source§

impl Decode for f32

Source§

impl Decode for f64

Source§

impl Decode for i8

Source§

impl Decode for i16

Source§

impl Decode for i32

Source§

impl Decode for i64

Source§

impl Decode for u8

Source§

impl Decode for u16

Source§

impl Decode for u32

Source§

impl Decode for u64

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::Decoder, <V11 as Decode>::Decoder, <V12 as Decode>::Decoder, <V13 as Decode>::Decoder, <V14 as Decode>::Decoder, <V15 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::Decoder, <V11 as Decode>::Decoder, <V12 as Decode>::Decoder, <V13 as Decode>::Decoder, <V14 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::Decoder, <V11 as Decode>::Decoder, <V12 as Decode>::Decoder, <V13 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::Decoder, <V11 as Decode>::Decoder, <V12 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::Decoder, <V11 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::Decoder, <V10 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::Decoder, <V9 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::Decoder, <V8 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::Decoder, <V7 as Decode>::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>::Decoder>

Source§

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

Source§

type Decoder = TupleDecoder<(<V0 as Decode>::Decoder, <V1 as Decode>::Decoder, <V2 as Decode>::Decoder, <V3 as Decode>::Decoder, <V4 as Decode>::Decoder, <V5 as Decode>::Decoder, <V6 as Decode>::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>::Decoder>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<O, E> Decode for Result<O, E>
where O: Decode, E: Decode, Error: From<<O::Decoder as Decoder>::Error> + From<<E::Decoder as Decoder>::Error>,

Source§

impl<T> Decode for Option<T>
where T: Decode,

Source§

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

Source§

impl<T> Decode for Pin<Box<dyn Stream<Item = Vec<T>> + Send>>
where T: Decode + Send + 'static, T::ListDecoder: Deferred<BufferedIncoming> + Send, <T::Decoder as Decoder>::Error: Send, Error: From<<T::Decoder as Decoder>::Error>,

Source§

impl<T> Decode for Vec<T>

Implementors§