1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use config::ConfigError;

mod controller;

pub trait ConfiguratorSpec {
    type Actor;
    type Context;
    type Container;
    type Data;

    fn constructor(pattern: String) -> Result<Self, ConfigError> where Self: Sized;
}

pub trait ControllerSpec {
    type Actor;
    type Context;
}