pub trait PlatformManager { // Required methods fn devices(&self) -> Result<Vec<Box<dyn Device>>>; fn platforms(&self) -> Result<Vec<Box<dyn Platform>>>; }