pub struct Process { /* private fields */ }Expand description
A handle to a spawned process.
Implementations§
Source§impl Process
impl Process
Sourcepub fn wait_step(&self) -> Result<Option<ExitStatus>, CoreError>
pub fn wait_step(&self) -> Result<Option<ExitStatus>, CoreError>
Perform a non-blocking wait for process termination.
Sourcepub fn wait_blocking(&self) -> Result<ExitStatus, CoreError>
pub fn wait_blocking(&self) -> Result<ExitStatus, CoreError>
Block until the process terminates.
Auto Trait Implementations§
impl Freeze for Process
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnsafeUnpin for Process
impl UnwindSafe for Process
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