IngestJobStatus#

#[non_exhaustive] pub enum IngestJobStatus#

The lifecycle status of an ingest job.

Variants#

Submitted#
Queued#
InProgress#
Completed#
Failed#
Cancelled#
DeletionInProgress#

The job is being deleted. Only completed or cancelled jobs can be deleted.

Deleted#

The job was deleted.

Unknown(String)#

A status returned by the server that this client does not recognize. Treated as a terminal failure by the client’s wait loop.

Implementations#

impl IngestJobStatus
pub fn is_terminal(&self) -> bool#

Whether the job has reached a terminal state (no further transitions).

Trait implementations#

impl From<&IngestJobStatus> for IngestJobStatus
fn from(s: &ApiIngestJobStatus) -> Self

Derived: Debug, Clone, StructuralPartialEq, PartialEq, Eq

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe