use crate::protocol::eval::*; use crate::runtime2::*; use super::*; /// TODO: Temporary component to figure out what to do with custom components. /// This component sends random numbers between two u32 limits struct ComponentRandSend { } impl Component for ComponentRandSend { fn adopt_message(&mut self, _comp_ctx: &mut CompCtx, _message: DataMessage) { unreachable!("should not adopt messages"); } fn handle_message(&mut self, sched_ctx: &mut SchedulerCtx, comp_ctx: &mut CompCtx, message: Message) { todo!() } fn run(&mut self, sched_ctx: &mut SchedulerCtx, comp_ctx: &mut CompCtx) -> Result { todo!() } }