pub enum ForegroundKind {
Unknown,
Shell,
PassiveViewer,
Runtime,
Agent,
InteractiveApp,
}Expand description
Foreground process class for a tmux session, classified by tmux::monitor.
“Running” (Active state) is decided downstream in session_state — this
enum stays a raw input.
Variants§
Trait Implementations§
Source§impl Clone for ForegroundKind
impl Clone for ForegroundKind
Source§fn clone(&self) -> ForegroundKind
fn clone(&self) -> ForegroundKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForegroundKind
Source§impl Debug for ForegroundKind
impl Debug for ForegroundKind
Source§impl Default for ForegroundKind
impl Default for ForegroundKind
Source§fn default() -> ForegroundKind
fn default() -> ForegroundKind
Returns the “default value” for a type. Read more
impl Eq for ForegroundKind
Source§impl PartialEq for ForegroundKind
impl PartialEq for ForegroundKind
Source§fn eq(&self, other: &ForegroundKind) -> bool
fn eq(&self, other: &ForegroundKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ForegroundKind
impl Serialize for ForegroundKind
impl StructuralPartialEq for ForegroundKind
Auto Trait Implementations§
impl Freeze for ForegroundKind
impl RefUnwindSafe for ForegroundKind
impl Send for ForegroundKind
impl Sync for ForegroundKind
impl Unpin for ForegroundKind
impl UnsafeUnpin for ForegroundKind
impl UnwindSafe for ForegroundKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.