ListTasks

Trait ListTasks 

Source
pub trait ListTasks<Args>: Backend {
    // Required method
    fn list_tasks(
        &self,
        queue: &str,
        filter: &Filter,
    ) -> impl Future<Output = Result<Vec<Task<Args, Self::Context, Self::IdType>>, Self::Error>> + Send;
}
Expand description

Allows listing tasks with optional filtering

Required Methods§

Source

fn list_tasks( &self, queue: &str, filter: &Filter, ) -> impl Future<Output = Result<Vec<Task<Args, Self::Context, Self::IdType>>, Self::Error>> + Send

List tasks matching the given filter in the current queue

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§