#[non_exhaustive]pub enum Multiplexer {
None,
Tmux,
Screen,
}Expand description
Multiplexer context information.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
Not running inside a multiplexer.
Tmux
Running inside tmux (supports DCS passthrough since tmux 3.3+).
Screen
Running inside GNU screen.
Trait Implementations§
Source§impl Clone for Multiplexer
impl Clone for Multiplexer
Source§fn clone(&self) -> Multiplexer
fn clone(&self) -> Multiplexer
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 moreSource§impl Debug for Multiplexer
impl Debug for Multiplexer
Source§impl Hash for Multiplexer
impl Hash for Multiplexer
Source§impl PartialEq for Multiplexer
impl PartialEq for Multiplexer
impl Copy for Multiplexer
impl Eq for Multiplexer
impl StructuralPartialEq for Multiplexer
Auto Trait Implementations§
impl Freeze for Multiplexer
impl RefUnwindSafe for Multiplexer
impl Send for Multiplexer
impl Sync for Multiplexer
impl Unpin for Multiplexer
impl UnsafeUnpin for Multiplexer
impl UnwindSafe for Multiplexer
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