Skeleton of the Router module (#1726)

The purpose of this commit is to establish a foundation of the router module, it paves the way for the implementation of other features.
This commit is contained in:
Sergei Shulepov
2020-09-17 12:27:40 +02:00
committed by GitHub
parent 49cba2e3a3
commit 9bb374fb90
6 changed files with 112 additions and 8 deletions
+7
View File
@@ -103,6 +103,8 @@ impl crate::configuration::Trait for Test { }
impl crate::paras::Trait for Test { }
impl crate::router::Trait for Test { }
impl crate::scheduler::Trait for Test { }
impl crate::inclusion::Trait for Test {
@@ -120,6 +122,11 @@ pub type Configuration = crate::configuration::Module<Test>;
/// Mocked paras.
pub type Paras = crate::paras::Module<Test>;
/// Mocked router.
// TODO: Will be used in the follow ups.
#[allow(dead_code)]
pub type Router = crate::router::Module<Test>;
/// Mocked scheduler.
pub type Scheduler = crate::scheduler::Module<Test>;