3ERBQOGMWDE3KH4SGF3MGNN2N7BSXY4EPPYSZGL4OY36DW3IUEMAC
V3N7ZSMUNTM4CK6DPSL3R5QZTAAOI25ROQ5OFJME32WGSSO4B7EQC
mod device;
use device::Device;
let mut device = native.build();
let mut driver = native.build(); let mut device = Device::new(driver);
let mut driver = native.build();
let mut device = Device::new(driver);
loop { let r = device.read_frame(); println!("{:?}", r); }
loop {
let r = device.read_frame();
println!("{:?}", r);
}
device.join();
pub(crate) trait Driver {
pub trait Driver {
pub struct SerialDriver<P = PlatformNativePort, F = Box<dyn FnMut() -> Result<P, ()>>>
pub struct SerialDriver<P = PlatformNativePort, F = Box<dyn FnMut() -> Result<P, ()> + Send>>