pub trait KeyDispatcher {
// Required method
fn send_key(
&mut self,
session: &str,
pane_index: usize,
key: &str,
) -> Result<()>;
}Expand description
Abstraction over tmux send-keys so auto_approve_pane can be tested
without spawning tmux.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".