pub struct ResourceLedger {
pub chrome_launched: bool,
pub chrome_pid: Option<u32>,
pub profile_dir: Option<PathBuf>,
}Expand description
Ledger of resources owned by this invocation (browser, profile, temp dirs).
Fields§
§chrome_launched: boolTrue when this process launched Chrome and still owns the residual flag.
chrome_pid: Option<u32>Optional OS process id of launched Chrome for last-resort kill.
profile_dir: Option<PathBuf>Temporary profile directory created for this invocation, if any.
Trait Implementations§
Source§impl Debug for ResourceLedger
impl Debug for ResourceLedger
Source§impl Default for ResourceLedger
impl Default for ResourceLedger
Source§fn default() -> ResourceLedger
fn default() -> ResourceLedger
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceLedger
impl RefUnwindSafe for ResourceLedger
impl Send for ResourceLedger
impl Sync for ResourceLedger
impl Unpin for ResourceLedger
impl UnsafeUnpin for ResourceLedger
impl UnwindSafe for ResourceLedger
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