pub trait NotificationStore: DataStore<NotificationData> + InitStore {
fn list_notification_guids_for_job_and_state(
&mut self,
job: Uuid,
state: JobState
) -> Pin<Box<dyn Future<Output = Result<Vec<Uuid>, JobSchedulerError>> + Send>>;
fn list_notification_guids_for_job_id(
&mut self,
job_id: Uuid
) -> Pin<Box<dyn Future<Output = Result<Vec<Uuid>, JobSchedulerError>> + Send>>;
fn delete_notification_for_state(
&mut self,
notification_id: Uuid,
state: JobState
) -> Pin<Box<dyn Future<Output = Result<bool, JobSchedulerError>> + Send>>;
fn delete_for_job(
&mut self,
job_id: Uuid
) -> Pin<Box<dyn Future<Output = Result<(), JobSchedulerError>> + Send>>;
}