Type Alias TaskResult

Source
pub type TaskResult = Result<Vec<u8>, Box<dyn Error + Send + Sync>>;
Expand description

Result type for task execution

Aliased Type§

pub enum TaskResult {
    Ok(Vec<u8>),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(Vec<u8>)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value