pub trait DeviceInfo {
// Required methods
fn name(&self) -> &'static str;
fn id(&self) -> usize;
fn compatible(&self) -> Vec<&'static str>;
fn as_any(&self) -> &dyn Any;
}
pub trait DeviceInfo {
// Required methods
fn name(&self) -> &'static str;
fn id(&self) -> usize;
fn compatible(&self) -> Vec<&'static str>;
fn as_any(&self) -> &dyn Any;
}