Work on timer semantics

This commit is contained in:
Mathias Hall-Andersen
2019-10-31 17:11:09 +01:00
parent c413417196
commit b25c21885b
10 changed files with 182 additions and 81 deletions

View File

@@ -14,7 +14,8 @@ mod tests;
use messages::TransportHeader;
use std::mem;
use super::constants::*;
use super::constants::REJECT_AFTER_MESSAGES;
use super::types::*;
pub const SIZE_MESSAGE_PREFIX: usize = mem::size_of::<TransportHeader>();
pub const CAPACITY_MESSAGE_POSTFIX: usize = workers::SIZE_TAG;