You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
279 B

4 years ago
use super::*;
4 years ago
use std::fs::{
File, Metadata,
};
4 years ago
#[derive(Debug)]
pub struct Job
{
4 years ago
fd: File,
stat: Metadata,
/// We grab the slice of memory we write to from here
state: state::State,
/// From this offset
offset: usize,
4 years ago
}
4 years ago
//TODO: job's work :^)