Skip to main content

search

Function search 

Source
pub fn search(root: &Path, q: &Search) -> Result<Results>
Expand description

Run a search against the blocks under root.

Blocking: this mmaps and page-faults. Callers on an async runtime must go through spawn_blocking — a hard fault stalls the whole OS thread with no yield point and no signal to the scheduler.