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:
parent
eff25ecaf2
commit
3a50ddd0c9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue