Trait gear_common::scheduler::TaskPoolError
source · pub trait TaskPoolError {
// Required methods
fn duplicate_task() -> Self;
fn task_not_found() -> Self;
}
Expand description
Represents task pool error type.
Contains constructors for all existing errors.
Required Methods§
sourcefn duplicate_task() -> Self
fn duplicate_task() -> Self
Occurs when given task already exists in task pool.
sourcefn task_not_found() -> Self
fn task_not_found() -> Self
Occurs when task wasn’t found in storage.
Object Safety§
This trait is not object safe.