pub struct SpawnedProcess { /* private fields */ }Expand description
A spawned process with owned process/thread handles.
Implementations§
Source§impl SpawnedProcess
impl SpawnedProcess
Sourcepub fn resume(&self) -> Result<()>
pub fn resume(&self) -> Result<()>
Resume the primary thread. Useful when spawned in suspended state.
Sourcepub fn open_process(&self, access: ProcessAccess) -> Result<Process>
pub fn open_process(&self, access: ProcessAccess) -> Result<Process>
Open a managed Process handle for the spawned process.
Trait Implementations§
Source§impl Drop for SpawnedProcess
impl Drop for SpawnedProcess
impl Send for SpawnedProcess
Auto Trait Implementations§
impl Freeze for SpawnedProcess
impl RefUnwindSafe for SpawnedProcess
impl !Sync for SpawnedProcess
impl Unpin for SpawnedProcess
impl UnsafeUnpin for SpawnedProcess
impl UnwindSafe for SpawnedProcess
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