Type Alias maelstrom_base::JobOutcomeResult

source ·
pub type JobOutcomeResult = JobResult<JobOutcome, String>;
Expand description

All relevant information about the outcome of a job. This is what’s sent around between the Worker, Broker, and Client.

Aliased Type§

enum JobOutcomeResult {
    Ok(JobOutcome),
    Err(JobError<String>),
}

Variants§

§1.0.0

Ok(JobOutcome)

Contains the success value

§1.0.0

Err(JobError<String>)

Contains the error value