pub struct CmuxBackend;Trait Implementations§
Source§impl Backend for CmuxBackend
impl Backend for CmuxBackend
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 CmuxBackend
impl RefUnwindSafe for CmuxBackend
impl Send for CmuxBackend
impl Sync for CmuxBackend
impl Unpin for CmuxBackend
impl UnsafeUnpin for CmuxBackend
impl UnwindSafe for CmuxBackend
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