pub enum PaneState {
Running,
Exited {
code: i32,
},
Spawning,
}Expand description
Pane lifecycle states.
Variants§
Running
Process is alive and accepting input.
Exited
Process exited; pane stays visible until closed. tmux’s
remain-on-exit semantics.
Spawning
Pane was created but the child hasn’t started yet (rare —
only during the short window between TearPane::spawn and
the first PTY read).
Trait Implementations§
impl Copy for PaneState
Source§impl<'de> Deserialize<'de> for PaneState
impl<'de> Deserialize<'de> for PaneState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PaneState
impl StructuralPartialEq for PaneState
Auto Trait Implementations§
impl Freeze for PaneState
impl RefUnwindSafe for PaneState
impl Send for PaneState
impl Sync for PaneState
impl Unpin for PaneState
impl UnsafeUnpin for PaneState
impl UnwindSafe for PaneState
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