pub struct LaunchResult {
pub browser: Browser,
pub page: Arc<dyn EngineAdapter>,
}Expand description
Result of a browser launch.
Contains both static metadata (browser) and a live
EngineAdapter (page) that can be passed to the navigation,
interaction, and query helpers exposed by this crate.
Fields§
§browser: BrowserThe browser metadata.
page: Arc<dyn EngineAdapter>A live page/adapter tied to the launched browser.
For Chromiumoxide, this is a ChromiumoxidePage
implementing EngineAdapter. Pass launch_result.page.as_ref() to
goto, click, evaluate, and other helpers.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LaunchResult
impl !UnwindSafe for LaunchResult
impl Freeze for LaunchResult
impl Send for LaunchResult
impl Sync for LaunchResult
impl Unpin for LaunchResult
impl UnsafeUnpin for LaunchResult
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