pub trait PaneSource: Send + Sync {
// Required method
fn capture(&self, session: &str) -> Result<Vec<String>>;
}Expand description
Lookup contract: given a tmux session name, return its scrollback
as a list of lines. Implementations may bound the depth — the
production tmux variant takes the last 3000 lines via
capture-pane -S -3000, matching teamctl logs.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".