pub trait Adapter {
// Required methods
fn send(&self, frame: &CanFrame) -> Result<(), Box<AdapterError>>;
fn recv(
&self,
timeout: Option<Duration>,
) -> Result<CanFrame, Box<AdapterError>>;
}Expand description
Base adapter interface (blocking)