pub trait Encode<W: Sink = Outgoing>: Sized {
type Encoder: Encoder<Self> + Deferred<W> + Default + Send;
// Provided methods
fn encode(
self,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error> { ... }
fn encode_iter_own<I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
where I: IntoIterator<Item = Self>,
I::IntoIter: ExactSizeIterator { ... }
fn encode_iter_ref<'a, I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
where I: IntoIterator<Item = &'a Self>,
I::IntoIter: ExactSizeIterator,
Self::Encoder: Encoder<&'a Self> { ... }
fn encode_list_own(
items: Vec<Self>,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error> { ... }
fn encode_list_ref<'a>(
items: &'a [Self],
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
where Self::Encoder: Encoder<&'a Self> { ... }
}Expand description
Defines value encoding
Required Associated Types§
Provided Methods§
Sourcefn encode(
self,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode( self, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
Convenience function for encoding a value
Sourcefn encode_iter_own<I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
Encode an iterator of owned values
Sourcefn encode_iter_ref<'a, I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>where
I: IntoIterator<Item = &'a Self>,
I::IntoIter: ExactSizeIterator,
Self::Encoder: Encoder<&'a Self>,
fn encode_iter_ref<'a, I>(
items: I,
enc: &mut Self::Encoder,
dst: &mut BytesMut,
) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>where
I: IntoIterator<Item = &'a Self>,
I::IntoIter: ExactSizeIterator,
Self::Encoder: Encoder<&'a Self>,
Encode an iterator of value references
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<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<&'a V14, Error = E> + 'static,
V15: Encode<W>,
V15::Encoder: Encoder<&'a V15, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<&'a V14, Error = E> + 'static,
V15: Encode<W>,
V15::Encoder: Encoder<&'a V15, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder, <V14 as Encode<W>>::Encoder, <V15 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<&'a V14, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<&'a V14, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder, <V14 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<&'a V13, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<&'a V12, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<&'a V11, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<&'a V10, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<&'a V9, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder)>
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7, V8)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<&'a V8, Error = E> + 'static,
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6, V7)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<&'a V7, Error = E> + 'static,
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5, V6> Encode<W> for &'a (V0, V1, V2, V3, V4, V5, V6)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<&'a V6, Error = E> + 'static,
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5> Encode<W> for &'a (V0, V1, V2, V3, V4, V5)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4, V5> Encode<W> for &'a (V0, V1, V2, V3, V4, V5)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<&'a V5, Error = E> + 'static,
Source§impl<'a, E, W: Sink, V0, V1, V2, V3, V4> Encode<W> for &'a (V0, V1, V2, V3, V4)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
impl<'a, E, W: Sink, V0, V1, V2, V3, V4> Encode<W> for &'a (V0, V1, V2, V3, V4)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<&'a V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<&'a V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<&'a V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<&'a V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<&'a V4, Error = E> + 'static,
Source§impl<'a, E, W: Sink, V0, V1, V2, V3> Encode<W> for &'a (V0, V1, V2, V3)
impl<'a, E, W: Sink, V0, V1, V2, V3> Encode<W> for &'a (V0, V1, V2, V3)
Source§impl<'a, E, W: Sink, V0, V1, V2> Encode<W> for &'a (V0, V1, V2)
impl<'a, E, W: Sink, V0, V1, V2> Encode<W> for &'a (V0, V1, V2)
Source§impl<'b, W: Sink> Encode<W> for &'b bool
impl<'b, W: Sink> Encode<W> for &'b bool
type Encoder = BoolCodec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b char
impl<'b, W: Sink> Encode<W> for &'b char
type Encoder = Utf8Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b f32
impl<'b, W: Sink> Encode<W> for &'b f32
type Encoder = CanonicalNanF32Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b f64
impl<'b, W: Sink> Encode<W> for &'b f64
type Encoder = CanonicalNanF64Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b i8
impl<'b, W: Sink> Encode<W> for &'b i8
type Encoder = S8Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b i16
impl<'b, W: Sink> Encode<W> for &'b i16
type Encoder = S16Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b i32
impl<'b, W: Sink> Encode<W> for &'b i32
type Encoder = S32Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b i64
impl<'b, W: Sink> Encode<W> for &'b i64
type Encoder = S64Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b u8
impl<'b, W: Sink> Encode<W> for &'b u8
type Encoder = U8Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b u16
impl<'b, W: Sink> Encode<W> for &'b u16
type Encoder = U16Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b u32
impl<'b, W: Sink> Encode<W> for &'b u32
type Encoder = U32Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<'b, W: Sink> Encode<W> for &'b u64
impl<'b, W: Sink> Encode<W> for &'b u64
type Encoder = U64Codec
fn encode_iter_own<I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<Self>>::Error>
fn encode_iter_ref<'a, I>( items: I, enc: &mut Self::Encoder, dst: &mut BytesMut, ) -> Result<Option<DeferredFn<W>>, <Self::Encoder as Encoder<&'a Self>>::Error>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<V14, Error = E> + 'static,
V15: Encode<W>,
V15::Encoder: Encoder<V15, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<V14, Error = E> + 'static,
V15: Encode<W>,
V15::Encoder: Encoder<V15, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder, <V14 as Encode<W>>::Encoder, <V15 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<V14, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
V14: Encode<W>,
V14::Encoder: Encoder<V14, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder, <V14 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
V13: Encode<W>,
V13::Encoder: Encoder<V13, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder, <V13 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
V12: Encode<W>,
V12::Encoder: Encoder<V12, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder, <V12 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
V11: Encode<W>,
V11::Encoder: Encoder<V11, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder, <V11 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
V10: Encode<W>,
V10::Encoder: Encoder<V10, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder, <V10 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8, V9> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8, V9)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
V9: Encode<W>,
V9::Encoder: Encoder<V9, Error = E> + 'static,
type Encoder = TupleEncoder<(<V0 as Encode<W>>::Encoder, <V1 as Encode<W>>::Encoder, <V2 as Encode<W>>::Encoder, <V3 as Encode<W>>::Encoder, <V4 as Encode<W>>::Encoder, <V5 as Encode<W>>::Encoder, <V6 as Encode<W>>::Encoder, <V7 as Encode<W>>::Encoder, <V8 as Encode<W>>::Encoder, <V9 as Encode<W>>::Encoder)>
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7, V8> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7, V8)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
V8: Encode<W>,
V8::Encoder: Encoder<V8, Error = E> + 'static,
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6, V7> Encode<W> for (V0, V1, V2, V3, V4, V5, V6, V7)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
V7: Encode<W>,
V7::Encoder: Encoder<V7, Error = E> + 'static,
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6> Encode<W> for (V0, V1, V2, V3, V4, V5, V6)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5, V6> Encode<W> for (V0, V1, V2, V3, V4, V5, V6)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
V6: Encode<W>,
V6::Encoder: Encoder<V6, Error = E> + 'static,
Source§impl<E, W: Sink, V0, V1, V2, V3, V4, V5> Encode<W> for (V0, V1, V2, V3, V4, V5)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4, V5> Encode<W> for (V0, V1, V2, V3, V4, V5)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
V5: Encode<W>,
V5::Encoder: Encoder<V5, Error = E> + 'static,
Source§impl<E, W: Sink, V0, V1, V2, V3, V4> Encode<W> for (V0, V1, V2, V3, V4)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
impl<E, W: Sink, V0, V1, V2, V3, V4> Encode<W> for (V0, V1, V2, V3, V4)where
E: From<Error>,
V0: Encode<W>,
V0::Encoder: Encoder<V0, Error = E> + 'static,
V1: Encode<W>,
V1::Encoder: Encoder<V1, Error = E> + 'static,
V2: Encode<W>,
V2::Encoder: Encoder<V2, Error = E> + 'static,
V3: Encode<W>,
V3::Encoder: Encoder<V3, Error = E> + 'static,
V4: Encode<W>,
V4::Encoder: Encoder<V4, Error = E> + 'static,
Source§impl<E, W: Sink, V0, V1, V2, V3> Encode<W> for (V0, V1, V2, V3)
impl<E, W: Sink, V0, V1, V2, V3> Encode<W> for (V0, V1, V2, V3)
Source§impl<E, W: Sink, V0, V1, V2> Encode<W> for (V0, V1, V2)
impl<E, W: Sink, V0, V1, V2> Encode<W> for (V0, V1, V2)
Source§impl<T, W: Sink> Encode<W> for Pin<Box<dyn Future<Output = T> + Send>>
impl<T, W: Sink> Encode<W> for Pin<Box<dyn Future<Output = T> + Send>>
type Encoder = FutureEncoder<W>
Source§impl<T, W: Sink> Encode<W> for Pin<Box<dyn Stream<Item = Vec<T>> + Send>>
impl<T, W: Sink> Encode<W> for Pin<Box<dyn Stream<Item = Vec<T>> + Send>>
type Encoder = StreamEncoder<W>
Source§impl<W: Sink> Encode<W> for Pin<Box<dyn AsyncRead + Send>>
impl<W: Sink> Encode<W> for Pin<Box<dyn AsyncRead + Send>>
type Encoder = StreamEncoderRead<W>
Source§impl<W: Sink> Encode<W> for Pin<Box<dyn Stream<Item = Bytes> + Send>>
impl<W: Sink> Encode<W> for Pin<Box<dyn Stream<Item = Bytes> + Send>>
type Encoder = StreamEncoderBytes<W>
Source§impl<W: Sink> Encode<W> for Receiver
Available on Unix and crate feature net only.
impl<W: Sink> Encode<W> for Receiver
Available on Unix and crate feature
net only.type Encoder = StreamEncoderRead<W>
Source§impl<W: Sink> Encode<W> for TcpStream
Available on crate feature net only.
impl<W: Sink> Encode<W> for TcpStream
Available on crate feature
net only.type Encoder = StreamEncoderRead<W>
Source§impl<W: Sink> Encode<W> for UnixStream
Available on Unix and crate feature net only.
impl<W: Sink> Encode<W> for UnixStream
Available on Unix and crate feature
net only.