summaryrefslogtreecommitdiffstats
path: root/src/search/searchable.rs
blob: 7097af146c10f59b2d83d9d3155fef0ec15b1f5f (plain)
1
2
3
4
5
6
7
use crate::search::{Interrupter, SearchResult};

pub(crate) trait Searchable: Send {
	fn reset(&mut self);

	fn search(&mut self, interrupter: Interrupter, term: &str) -> SearchResult;
}