trait Console: Write {
// Required methods
fn write(&mut self, src: &[u8]) -> usize;
fn read(&mut self, dst: &mut [u8]) -> usize;
fn start_capture(&mut self) -> Option<String>;
fn stop_capture(&mut self) -> Option<String>;
}
trait Console: Write {
// Required methods
fn write(&mut self, src: &[u8]) -> usize;
fn read(&mut self, dst: &mut [u8]) -> usize;
fn start_capture(&mut self) -> Option<String>;
fn stop_capture(&mut self) -> Option<String>;
}