ListQueryHandler

Trait ListQueryHandler 

Source
pub trait ListQueryHandler {
    type Item;

    // Required methods
    async fn handle_query<'a, T: StableRepo>(
        &mut self,
        query: ScriptQuery,
        repo: &'a mut T,
    ) -> 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§

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.

Implementors§