use crate::command::Command; pub mod e1; pub trait DeviceBackend { fn build_query(&self) -> anyhow::Result>; fn process_message(&self, msg: &[u8]) -> anyhow::Result>; fn set_attribute(&self, attribute: &str, value: &str) -> (); }