Trait sda_server::stores::ClerkingJobsStore [] [src]

pub trait ClerkingJobsStore: BaseStore {
    fn enqueue_clerking_job(&self, job: &ClerkingJob) -> SdaServerResult<()>;
    fn poll_clerking_job(&self,
                         clerk: &AgentId)
                         -> SdaServerResult<Option<ClerkingJob>>; fn get_clerking_job(&self,
                        clerk: &AgentId,
                        job: &ClerkingJobId)
                        -> SdaServerResult<Option<ClerkingJob>>; fn create_clerking_result(&self,
                              result: &ClerkingResult)
                              -> SdaServerResult<()>; fn list_results(&self,
                    snapshot: &SnapshotId)
                    -> SdaServerResult<Vec<ClerkingJobId>>; fn get_result(&self,
                  snapshot: &SnapshotId,
                  job: &ClerkingJobId)
                  -> SdaServerResult<Option<ClerkingResult>>; }

Required Methods

Implementors