pub async fn valid_ranges<D: MapMut>(entry: &D::EntryMut) -> Result<ChunkRanges>
Given a partial entry, get the valid ranges.