pub struct PaneExitState {
pub code: Option<i32>,
pub signal: Option<i32>,
pub message: Option<String>,
}Expand description
Captured exit details for an already-terminated pane process.
All fields are optional: a clean exit reports code only, a
signal-driven exit reports signal, and a daemon-supplied human
message can be carried in message for surfaces such as
remain-on-exit overlays.
Fields§
§code: Option<i32>Numeric exit code, when the process exited normally.
signal: Option<i32>Numeric signal value, when the process was terminated by a signal.
message: Option<String>Optional daemon-supplied human-readable exit message.
Implementations§
Source§impl PaneExitState
impl PaneExitState
Trait Implementations§
Source§impl Clone for PaneExitState
impl Clone for PaneExitState
Source§fn clone(&self) -> PaneExitState
fn clone(&self) -> PaneExitState
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 moreSource§impl Debug for PaneExitState
impl Debug for PaneExitState
Source§impl Default for PaneExitState
impl Default for PaneExitState
Source§fn default() -> PaneExitState
fn default() -> PaneExitState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaneExitState
impl<'de> Deserialize<'de> for PaneExitState
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 PaneExitState
Source§impl Hash for PaneExitState
impl Hash for PaneExitState
Source§impl PartialEq for PaneExitState
impl PartialEq for PaneExitState
Source§fn eq(&self, other: &PaneExitState) -> bool
fn eq(&self, other: &PaneExitState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaneExitState
impl Serialize for PaneExitState
impl StructuralPartialEq for PaneExitState
Auto Trait Implementations§
impl Freeze for PaneExitState
impl RefUnwindSafe for PaneExitState
impl Send for PaneExitState
impl Sync for PaneExitState
impl Unpin for PaneExitState
impl UnsafeUnpin for PaneExitState
impl UnwindSafe for PaneExitState
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