summaryrefslogtreecommitdiffstats
path: root/src/runner.rs
blob: f42f0cf3895b617b2dc56de8e927649ae4ef9eee (plain)
1
2
3
4
5
6
7
8
9
10
11
pub mod runc;

use std::io;

use crate::types::*;

pub type Result<T> = io::Result<T>;

pub trait Runner {
	fn run(&self, task: &Task) -> Result<OutputHash>;
}