pub unsafe trait ListQueryHandler {
    type Item;

    // Required methods
    async fn handle_query<'a>(
        &mut self,
        query: ScriptQuery,
        repo: &'a mut ScriptRepo
    ) -> Result<Option<RepoEntry<'a>>>;
    fn handle_item(&mut self, item: Self::Item) -> Option<ListQuery>;
    fn should_raise_dont_fuzz_on_empty() -> bool;
    fn should_return_all_on_empty() -> bool;
}

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§