pub fn scan(
services: &Services,
) -> impl Stream<Item = Result<Finding>> + Send + '_Expand description
Streams each listed thread root whose summary disagrees with a recount.
A root no longer stored, or holding no summary, is skipped as the rebuild skips it. The rebuild re-reads each root under its room lock and decides through the same recount, so the two agree. A reply or latest reply whose row the storage engine cannot read ends the stream with its error, while one whose row or mapping does not decode is a finding.