Skip to main content

GcState

Type Alias GcState 

Source
pub type GcState = JobState;
Expand description

Where a job is. Mirrors gunnar.v1.GcState; the mapping to the wire lives in gunnar-grpc so this crate does not depend on the protos.

The four words are JobState’s, shared with every other kind of job, so GcStatus and PurgeStatus cannot drift apart about what Done means.

Aliased Type§

pub enum GcState {
    Queued,
    Running,
    Done,
    Failed,
}

Variants§

§

Queued

Waiting its turn.

§

Running

The one job of this kind that is running.

§

Done

Finished; the kind’s report is the answer.

§

Failed

Finished badly; error says why.