backup/chunk_store: mark ChunkIterator as fused

Ranges are FusedIterators and it can be useful to propagate
that property to users.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-02-15 10:12:35 +01:00
parent eff25ecaf2
commit 3a50ddd0c9
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ impl ChunkStore {
&self, &self,
print_percentage: bool, print_percentage: bool,
) -> Result< ) -> Result<
impl Iterator<Item = Result<tools::fs::ReadDirEntry, Error>>, impl Iterator<Item = Result<tools::fs::ReadDirEntry, Error>> + std::iter::FusedIterator,
Error Error
> { > {
use nix::dir::Dir; use nix::dir::Dir;