pub enum BackgroundProcessState {
Running {
pid: u32,
},
Exited {
code: i32,
},
Killed,
}Expand description
Lifecycle of one retained background process.
Variants§
Running
The process group is still running.
Exited
The process exited on its own.
Killed
stop_background_process or session teardown killed the process group.
Implementations§
Trait Implementations§
Source§impl Clone for BackgroundProcessState
impl Clone for BackgroundProcessState
Source§impl Debug for BackgroundProcessState
impl Debug for BackgroundProcessState
impl Eq for BackgroundProcessState
Source§impl PartialEq for BackgroundProcessState
impl PartialEq for BackgroundProcessState
impl StructuralPartialEq for BackgroundProcessState
Auto Trait Implementations§
impl Forget for BackgroundProcessState
impl Freeze for BackgroundProcessState
impl Move for BackgroundProcessState
impl RefUnwindSafe for BackgroundProcessState
impl Send for BackgroundProcessState
impl Sync for BackgroundProcessState
impl Unpin for BackgroundProcessState
impl UnsafeUnpin for BackgroundProcessState
impl UnwindSafe for BackgroundProcessState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.