Trait system_harness::SystemTerminal
source · pub trait SystemTerminal: Write + Read {
// Required method
fn send_key(&mut self, key: Key) -> Result<(), Error>;
// Provided method
fn send_command(&mut self, command: &str) -> Result<(), Error> { ... }
}Expand description
A trait representing a harnessed system that should be treated as a terminal