pub trait EnetDevice {
// Required methods
fn name(&self) -> &str;
fn number(&self) -> u32;
fn kind(&self) -> DeviceKind;
fn subscribe(&self) -> EventualReader<DeviceValue>;
}
pub trait EnetDevice {
// Required methods
fn name(&self) -> &str;
fn number(&self) -> u32;
fn kind(&self) -> DeviceKind;
fn subscribe(&self) -> EventualReader<DeviceValue>;
}