Override the upper bound on objects considered per search. See [`DEFAULT_MAX_OBJECTS_SCANNED`]. `0` is treated as the default at backend construction.
(mut self, n: usize)
| 196 | /// [`DEFAULT_MAX_OBJECTS_SCANNED`]. `0` is treated as the default at |
| 197 | /// backend construction. |
| 198 | pub fn max_objects_scanned(mut self, n: usize) -> Self { |
| 199 | self.max_objects_scanned = Some(n); |
| 200 | self |
| 201 | } |
| 202 | |
| 203 | /// Override the per-object body-size ceiling for `grep`. See |
| 204 | /// [`DEFAULT_MAX_GREP_BYTES_PER_OBJECT`]. `0` is treated as the default. |
no outgoing calls