pub struct ManagedRoot { /* private fields */ }Expand description
The RightKit-managed Chrome for Testing folder and its fixed layout: one current
install, one current.previous rollback copy, and current.staging while an install runs.
No per-version folders and no new id: every app resolves the same path.
Implementations§
Source§impl ManagedRoot
impl ManagedRoot
Sourcepub fn resolve() -> Self
pub fn resolve() -> Self
The suite-wide root (<app data>/Orthic Labs/shared/chrome-for-testing); with the cargo
feature host-env, the folder named by the managed-root environment override when set.
Sourcepub fn staging(&self) -> PathBuf
pub fn staging(&self) -> PathBuf
<root>/current.staging: where an install extracts before it swaps into current.
Sourcepub fn executable(&self) -> PathBuf
pub fn executable(&self) -> PathBuf
The Chrome executable inside current for this platform.
Trait Implementations§
Source§impl Clone for ManagedRoot
impl Clone for ManagedRoot
Source§impl Debug for ManagedRoot
impl Debug for ManagedRoot
impl Eq for ManagedRoot
Source§impl PartialEq for ManagedRoot
impl PartialEq for ManagedRoot
impl StructuralPartialEq for ManagedRoot
Auto Trait Implementations§
impl Forget for ManagedRoot
impl Freeze for ManagedRoot
impl Move for ManagedRoot
impl RefUnwindSafe for ManagedRoot
impl Send for ManagedRoot
impl Sync for ManagedRoot
impl Unpin for ManagedRoot
impl UnsafeUnpin for ManagedRoot
impl UnwindSafe for ManagedRoot
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