fn chunks_to_download(&self) -> Box<dyn Iterator<Item = ChunkId>> {
            Box::new(
                (0..self.num_chunks as u32)
                    .map(ChunkId::from)
                    .collect::<Vec<_>>()
                    .into_iter(),
            )
        }
/// The method returns an Iterator over the chunks to download.
The method returns an Iterator over the chunks to download.
The method returns an Iterator over the chunks to download .
fn chunks_to_download(&self) -> Box<dyn Iterator<Item = ChunkId>> {
            Box::new(
                (0..self.num_chunks as u32)
                    .map(ChunkId::from)
                    .collect::<Vec<_>>()
                    .into_iter(),
            )
        }
fn chunks_to_download ( & self ) -> Box < dyn Iterator < Item = ChunkId > > { Box :: new ( ( 0 .. self . num_chunks as u32 ) . map ( ChunkId :: from ) . collect :: < Vec < _ > > ( ) . into_iter ( ) , ) }
The method returns an Iterator over the chunks to download.
The method returns an Iterator over the chunks to download .
&self
&self