pub fn decode<T>(&self, fragments: Vec<T>) -> impl Future<Item = Vec<u8>, Error = Error>
    where
        T: AsRef<Fragment> + Send + 'static,
    {
        let builder = self.builder.clone();
        let result = DefaultCpuTaskQueue.async_call(move || {
            let fragments = fragments.iter().map(|f| f.as_ref()).collect::<Vec<_>>();
            Self::with_coder(&builder, |coder| coder.decode(&fragments))
        });
        LazyResult(result)
    }
/// Decodes the original data from the given fragments asynchronously.
///
/// The decoding process will be executed on a thread in the pool.
///
/// Note whether the correctness of the result data has been validated depends on the implementations.
Decodes the original data from the given fragments asynchronously.
The decoding process will be executed on a thread in the pool.

Note whether the correctness of the result data has been validated depends on the implementations.
Decodes the original data from the given fragments asynchronously . The decoding process will be executed on a thread in the pool . Note whether the correctness of the result data has been validated depends on the implementations .
pub fn decode<T>(&self, fragments: Vec<T>) -> impl Future<Item = Vec<u8>, Error = Error>
    where
        T: AsRef<Fragment> + Send + 'static,
    {
        let builder = self.builder.clone();
        let result = DefaultCpuTaskQueue.async_call(move || {
            let fragments = fragments.iter().map(|f| f.as_ref()).collect::<Vec<_>>();
            Self::with_coder(&builder, |coder| coder.decode(&fragments))
        });
        LazyResult(result)
    }
pub fn decode < T > ( & self , fragments : Vec < T > ) -> impl Future < Item = Vec < u8 > , Error = Error > where T : AsRef < Fragment > + Send + ' static , { let builder = self . builder . clone ( ) ; let result = DefaultCpuTaskQueue . async_call ( move | | { let fragments = fragments . iter ( ) . map ( | f | f . as_ref ( ) ) . collect :: < Vec < _ > > ( ) ; Self :: with_coder ( & builder , | coder | coder . decode ( & fragments ) ) } ) ; LazyResult ( result ) }
Decodes the original data from the given fragments asynchronously.
Decodes the original data from the given fragments asynchronously .
&self
fragments
Vec<T>
&self
fragments
Vec<T>