pub fn all_blobs(&self) -> HashSet<Hash> {
        self.packages
            .iter()
            .flat_map(|(meta_hash, content_hashes)| {
                std::iter::once(meta_hash).chain(content_hashes.into_iter().flatten())
            })
            .copied()
            .collect()
    }
/// Returns the set of all blobs currently protected by the retained index.
Returns the set of all blobs currently protected by the retained index.
Returns the set of all blobs currently protected by the retained index .
pub fn all_blobs(&self) -> HashSet<Hash> {
        self.packages
            .iter()
            .flat_map(|(meta_hash, content_hashes)| {
                std::iter::once(meta_hash).chain(content_hashes.into_iter().flatten())
            })
            .copied()
            .collect()
    }
pub fn all_blobs ( & self ) -> HashSet < Hash > { self . packages . iter ( ) . flat_map ( | ( meta_hash , content_hashes ) | { std :: iter :: once ( meta_hash ) . chain ( content_hashes . into_iter ( ) . flatten ( ) ) } ) . copied ( ) . collect ( ) }
Returns the set of all blobs currently protected by the retained index.
Returns the set of all blobs currently protected by the retained index .
&self
&self