pub trait SearchBackend: Send + Sync {
// Required method
fn search(
&self,
query: String,
include_tasks: bool,
include_events: bool,
limit: Option<i64>,
offset: Option<i64>,
) -> impl Future<Output = Result<PaginatedSearchResults>> + Send;
}Expand description
Full-text and status-keyword search operations.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.