pub trait Command { // Required methods fn len(&self) -> u8; fn cmd(&self) -> [u8; 2]; fn data(&self) -> [u8] ⓘ; }