aboutsummaryrefslogtreecommitdiff
path: root/utils/src/enums.rs
blob: d08c7ea886ad5ccc4a74011db81673dfba7ed1bb (plain)
1
2
3
4
5
6
7
8
9
10
11
pub enum MessageBody {
    Version(u32),
    NewCore(String, Vec<u8>),
    Job(u64, Vec<u8>),
}

pub enum Reply {
    Version(bool),
    NewCore,
    Job(i32, Vec<u8>),
}