pub trait Inputs {
// Required method
fn next(&mut self, wait: Duration) -> Result<Option<Input>>;
}Expand description
Where the terminal’s events come from: the keyboard in run, a
script in tests.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".