1use crate::item_update::ItemUpdate; 2use std::ops::Range; 3 4/// An enum to send data to the search index on another thread 5pub enum Request { 6 IndexItem { item: ItemUpdate }, 7 Search { id: usize, query: String }, 8 WindowInfo { displayable_lines: Range<u32> }, 9}