Trait ResourceSearch
pub trait ResourceSearch: Send + Sync {
// Required method
fn find(
&self,
caller: &Caller,
needle: &str,
) -> Pending<Result<Vec<Found>, ActionHostError>> ⓘ;
}Expand description
The desktop’s one search, as a host that holds it offers it to a caller who asks by words: the palette’s ranking, the same results in the same order. The search itself lives on the thread that holds the desktop, so an answer comes back later, as an action’s does.