pub struct RealBrowserLaunchResult {
pub browser: Browser,
pub page: Arc<dyn EngineAdapter>,
pub cdp_endpoint: String,
pub executable_path: PathBuf,
pub user_data_dir: PathBuf,
pub browser_process: BrowserProcess,
}Expand description
Browser/page handles plus metadata for the spawned installed browser.
Fields§
§browser: BrowserBrowser metadata matching LaunchResult.
page: Arc<dyn EngineAdapter>Shared engine adapter matching LaunchResult.
cdp_endpoint: StringResolved loopback DevTools endpoint.
executable_path: PathBufResolved installed-browser executable.
user_data_dir: PathBufDedicated profile used by the browser.
browser_process: BrowserProcessOwned process handle. Dropping the result terminates the browser.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RealBrowserLaunchResult
impl !UnwindSafe for RealBrowserLaunchResult
impl Freeze for RealBrowserLaunchResult
impl Send for RealBrowserLaunchResult
impl Sync for RealBrowserLaunchResult
impl Unpin for RealBrowserLaunchResult
impl UnsafeUnpin for RealBrowserLaunchResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more