pub trait Class { type Input; type Output; // Required methods fn input(&self) -> Self::Input; fn output(&self) -> Self::Output; }
Device class trait
Input report type
Output report type
Create input report
Create output report