pub struct RealBrowserLaunchResult {
pub browser: Browser,
pub page: Arc<dyn EngineAdapter>,
pub cdp_endpoint: String,
pub remote_debugging_port: u16,
pub executable_path: PathBuf,
pub user_data_dir: PathBuf,
pub temporary_profile: bool,
pub args: Vec<String>,
pub browser_process: BrowserProcess,
pub downloads: Option<Arc<DownloadManager>>,
pub migration: Option<MigrationSummary>,
/* private fields */
}Expand description
Browser/page handles plus metadata for the spawned installed browser.
Fields§
§browser: BrowserBrowser metadata matching crate::browser::launcher::LaunchResult.
page: Arc<dyn EngineAdapter>Shared engine adapter matching crate::browser::launcher::LaunchResult.
cdp_endpoint: StringResolved loopback DevTools endpoint.
remote_debugging_port: u16The fixed port the browser listens on.
executable_path: PathBufResolved installed-browser executable.
user_data_dir: PathBufProfile used by the browser.
temporary_profile: boolWhether user_data_dir is a temporary profile that is deleted when
the browser exits.
args: Vec<String>The browser’s exact command line (without the executable).
browser_process: BrowserProcessThe spawned browser. Dropping the result (and every clone of this
handle) stops it; close shuts it down gracefully.
downloads: Option<Arc<DownloadManager>>The download manager, when the caller asked for managed downloads.
A visible installed browser is where a person clicks a link themselves, so this is the manager that sees those downloads too.
migration: Option<MigrationSummary>Cookie-free profile migration report when migrate_from was set.
Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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