pub enum FocusResult {
Success,
MuxSwitched {
mux: String,
target: String,
},
Unsupported(String),
NoTty,
NotFound,
Error(String),
}Expand description
Result of attempting to focus a terminal.
Variants§
Success
Successfully focused the terminal.
MuxSwitched
Switched to a multiplexer pane and focused the terminal.
Fields
Unsupported(String)
Terminal type not supported for focusing.
NoTty
TTY device not found for this session.
NotFound
Terminal window not found (may have been closed).
Error(String)
Error occurred.
Trait Implementations§
Source§impl Clone for FocusResult
impl Clone for FocusResult
Source§fn clone(&self) -> FocusResult
fn clone(&self) -> FocusResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FocusResult
impl RefUnwindSafe for FocusResult
impl Send for FocusResult
impl Sync for FocusResult
impl Unpin for FocusResult
impl UnwindSafe for FocusResult
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