feat: Application module architecture and placeholder features #70
| @ -13,24 +13,6 @@ use crate::{ | ||||
|     topology::Topology, | ||||
| }; | ||||
| 
 | ||||
| #[derive(Clone, Serialize, Debug)] | ||||
| pub struct GoApplicationConfig {} | ||||
| 
 | ||||
| #[derive(Clone, Serialize, Debug)] | ||||
| pub struct GoApplicationScore { | ||||
|     pub config: GoApplicationConfig, | ||||
| } | ||||
| 
 | ||||
| impl<T: Topology> Score<T> for GoApplicationScore { | ||||
|     fn create_interpret(&self) -> Box<dyn crate::interpret::Interpret<T>> { | ||||
|         todo!() | ||||
|     } | ||||
| 
 | ||||
|     fn name(&self) -> String { | ||||
|         todo!() | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| #[derive(Debug)] | ||||
| pub struct ApplicationInterpret<T: Topology + std::fmt::Debug> { | ||||
|     features: Vec<Box<dyn ApplicationFeature<T>>>, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user