pub struct JobProcess {
pub pid: u32,
pub name: String,
pub exe: Option<String>,
pub bound: bool,
}Expand description
The process shown for a job.
Fields§
§pid: u32Process ID.
name: StringExecutable name, for example cargo.exe.
exe: Option<String>Full path of the executable, for its icon; None when it could not be read.
bound: boolWhether it belongs to the command’s bound process tree, the only tree a kill ends: its
busiest process, or its root while the tree is idle. false means it is the session’s
busiest process, shown for display only.
Trait Implementations§
Source§impl Clone for JobProcess
impl Clone for JobProcess
Source§impl Debug for JobProcess
impl Debug for JobProcess
Source§impl<'de> Deserialize<'de> for JobProcess
impl<'de> Deserialize<'de> for JobProcess
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 JobProcess
Source§impl PartialEq for JobProcess
impl PartialEq for JobProcess
Source§impl Serialize for JobProcess
impl Serialize for JobProcess
impl StructuralPartialEq for JobProcess
Auto Trait Implementations§
impl Forget for JobProcess
impl Freeze for JobProcess
impl Move for JobProcess
impl RefUnwindSafe for JobProcess
impl Send for JobProcess
impl Sync for JobProcess
impl Unpin for JobProcess
impl UnsafeUnpin for JobProcess
impl UnwindSafe for JobProcess
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