AsyncIngestInternalService

Trait AsyncIngestInternalService 

Source
pub trait AsyncIngestInternalService {
    // Required methods
    fn get_ingest_job(
        &self,
        auth_: BearerToken,
        ingest_job_rid: IngestJobRid,
    ) -> impl Future<Output = Result<IngestJob, Error>> + Send;
    fn update_ingest_job_status(
        &self,
        auth_: BearerToken,
        ingest_job_rid: IngestJobRid,
        status: IngestJobStatus,
    ) -> impl Future<Output = Result<IngestJobStatus, Error>> + Send;
}

Required Methods§

Source

fn get_ingest_job( &self, auth_: BearerToken, ingest_job_rid: IngestJobRid, ) -> impl Future<Output = Result<IngestJob, Error>> + Send

Returns a single ingest job by RID.

Source

fn update_ingest_job_status( &self, auth_: BearerToken, ingest_job_rid: IngestJobRid, status: IngestJobStatus, ) -> impl Future<Output = Result<IngestJobStatus, Error>> + Send

Updates the status of an ingest job.

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§