pub trait RamCommand {
// Required methods
fn command(&mut self, cmd: Command) -> Result<Response, Error>;
fn send_data(&mut self, data: &[u8]) -> Result<Response, Error>;
}pub trait RamCommand {
// Required methods
fn command(&mut self, cmd: Command) -> Result<Response, Error>;
fn send_data(&mut self, data: &[u8]) -> Result<Response, Error>;
}