pub struct ZombieProcess { /* private fields */ }Expand description
A process that has exited.
Implementations§
Source§impl ZombieProcess
 
impl ZombieProcess
pub fn exit_status(&self) -> ExitStatus
Sourcepub fn reaper<'host>(
    &self,
    host: &'host Host,
) -> Option<impl Deref<Target = RootedRc<RootedRefCell<Process>>> + 'host>
 
pub fn reaper<'host>( &self, host: &'host Host, ) -> Option<impl Deref<Target = RootedRc<RootedRefCell<Process>>> + 'host>
Process that can reap this zombie process, if any.
Sourcepub fn exit_siginfo(&self, exit_signal: Signal) -> siginfo_t
 
pub fn exit_siginfo(&self, exit_signal: Signal) -> siginfo_t
Construct a siginfo containing information about how the process exited.
Used internally to send a signal to the parent process, and by the
waitid syscall handler.
exit_signal is the signal to set in the siginfo_t.
Auto Trait Implementations§
impl !Freeze for ZombieProcess
impl !RefUnwindSafe for ZombieProcess
impl Send for ZombieProcess
impl !Sync for ZombieProcess
impl Unpin for ZombieProcess
impl UnwindSafe for ZombieProcess
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> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more