pub trait AsyncInternalIngestJobService {
// Required methods
fn create_ingest_job(
&self,
auth_: BearerToken,
create_ingest_job_request: CreateIngestJobRequest,
) -> impl Future<Output = Result<IngestJobRid, Error>> + Send;
fn get_ingest_job_internal(
&self,
auth_: BearerToken,
ingest_job_rid: IngestJobRid,
) -> impl Future<Output = Result<InternalIngestJob, Error>> + Send;
fn update_ingest_job_status(
&self,
auth_: BearerToken,
ingest_job_rid: IngestJobRid,
status: IngestJobStatus,
) -> impl Future<Output = Result<IngestJobStatus, Error>> + Send;
}Expand description
Internal API for managing ingest jobs. This service is filtered out from public documentation.
Required Methods§
Sourcefn create_ingest_job(
&self,
auth_: BearerToken,
create_ingest_job_request: CreateIngestJobRequest,
) -> impl Future<Output = Result<IngestJobRid, Error>> + Send
fn create_ingest_job( &self, auth_: BearerToken, create_ingest_job_request: CreateIngestJobRequest, ) -> impl Future<Output = Result<IngestJobRid, Error>> + Send
Creates an ingest job, returning a RID for the job.
Sourcefn get_ingest_job_internal(
&self,
auth_: BearerToken,
ingest_job_rid: IngestJobRid,
) -> impl Future<Output = Result<InternalIngestJob, Error>> + Send
fn get_ingest_job_internal( &self, auth_: BearerToken, ingest_job_rid: IngestJobRid, ) -> impl Future<Output = Result<InternalIngestJob, Error>> + Send
Returns a single ingest job by RID with full details including the ingest request.
Sourcefn update_ingest_job_status(
&self,
auth_: BearerToken,
ingest_job_rid: IngestJobRid,
status: IngestJobStatus,
) -> impl Future<Output = Result<IngestJobStatus, Error>> + Send
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.