pub struct TmuxBackend;Trait Implementations§
Source§impl Backend for TmuxBackend
impl Backend for TmuxBackend
Source§fn send(&self, target: &str, text: &str) -> Result<()>
fn send(&self, target: &str, text: &str) -> Result<()>
Send text to
target pane (paste + Enter).Source§fn spawn(&self, cmd: &str, args: &[&str], name: Option<&str>) -> Result<String>
fn spawn(&self, cmd: &str, args: &[&str], name: Option<&str>) -> Result<String>
Spawn a command in a new pane. Returns the new pane ID.
Source§fn normalize_id(&self, input: &str) -> String
fn normalize_id(&self, input: &str) -> String
Normalise a user-supplied pane identifier into canonical form.
Source§fn wait_for_ready(&self, target: &str, max_secs: u64, settle_secs: u64)
fn wait_for_ready(&self, target: &str, max_secs: u64, settle_secs: u64)
Block until
target has output, then settle.Source§fn session_name(&self) -> Result<String>
fn session_name(&self) -> Result<String>
Name of the session / workspace.
Source§fn backend_name(&self) -> &str
fn backend_name(&self) -> &str
Backend identifier:
"cmux" or "zellij".Auto Trait Implementations§
impl Freeze for TmuxBackend
impl RefUnwindSafe for TmuxBackend
impl Send for TmuxBackend
impl Sync for TmuxBackend
impl Unpin for TmuxBackend
impl UnsafeUnpin for TmuxBackend
impl UnwindSafe for TmuxBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more