Skip to main content

JobResult

Type Alias JobResult 

Source
pub type JobResult = Result<(), String>;
Expand description

The task return type used by scheduled jobs.

Aliased Type§

pub enum JobResult {
    Ok(()),
    Err(String),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(String)

Contains the error value