pub struct ProcessGuard {
pub pid: u32,
pub auto_kill: bool,
}Expand description
A guard that manages the lifecycle of a browser process. When dropped, it kills the process unless it was detached and NOT meant to be killed.
Fields§
§pid: u32§auto_kill: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessGuard
impl RefUnwindSafe for ProcessGuard
impl Send for ProcessGuard
impl Sync for ProcessGuard
impl Unpin for ProcessGuard
impl UnsafeUnpin for ProcessGuard
impl UnwindSafe for ProcessGuard
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