1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use config::ConfigError;
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;
}