pub trait Backend: Send {
// Required methods
fn recv_all(&mut self) -> Result<Vec<CanFrame>, String>;
fn send(&mut self, frame: &CanFrame) -> Result<(), String>;
}pub trait Backend: Send {
// Required methods
fn recv_all(&mut self) -> Result<Vec<CanFrame>, String>;
fn send(&mut self, frame: &CanFrame) -> Result<(), String>;
}