Skip to main content

PageEvents

Enum PageEvents 

Source
pub enum PageEvents {
Show 24 variants DomContentEventFired(DomContentEventFired), FileChooserOpened(FileChooserOpened), FrameAttached(FrameAttached), FrameDetached(FrameDetached), FrameSubtreeWillBeDetached(FrameSubtreeWillBeDetached), FrameNavigated(FrameNavigated), DocumentOpened(DocumentOpened), FrameResized(FrameResized), FrameStartedNavigating(FrameStartedNavigating), FrameRequestedNavigation(FrameRequestedNavigation), FrameStartedLoading(FrameStartedLoading), FrameStoppedLoading(FrameStoppedLoading), InterstitialHidden(InterstitialHidden), InterstitialShown(InterstitialShown), JavascriptDialogClosed(JavascriptDialogClosed), JavascriptDialogOpening(JavascriptDialogOpening), LifecycleEvent(LifecycleEvent), BackForwardCacheNotUsed(BackForwardCacheNotUsed), LoadEventFired(LoadEventFired), NavigatedWithinDocument(NavigatedWithinDocument), ScreencastFrame(ScreencastFrame), ScreencastVisibilityChanged(ScreencastVisibilityChanged), WindowOpen(WindowOpen), CompilationCacheProduced(CompilationCacheProduced),
}

Variants§

§

DomContentEventFired(DomContentEventFired)

§

FileChooserOpened(FileChooserOpened)

§

FrameAttached(FrameAttached)

§

FrameDetached(FrameDetached)

§

FrameSubtreeWillBeDetached(FrameSubtreeWillBeDetached)

§

FrameNavigated(FrameNavigated)

§

DocumentOpened(DocumentOpened)

§

FrameResized(FrameResized)

§

FrameStartedNavigating(FrameStartedNavigating)

§

FrameRequestedNavigation(FrameRequestedNavigation)

§

FrameStartedLoading(FrameStartedLoading)

§

FrameStoppedLoading(FrameStoppedLoading)

§

InterstitialHidden(InterstitialHidden)

§

InterstitialShown(InterstitialShown)

§

JavascriptDialogClosed(JavascriptDialogClosed)

§

JavascriptDialogOpening(JavascriptDialogOpening)

§

LifecycleEvent(LifecycleEvent)

§

BackForwardCacheNotUsed(BackForwardCacheNotUsed)

§

LoadEventFired(LoadEventFired)

§

NavigatedWithinDocument(NavigatedWithinDocument)

§

ScreencastFrame(ScreencastFrame)

§

ScreencastVisibilityChanged(ScreencastVisibilityChanged)

§

WindowOpen(WindowOpen)

§

CompilationCacheProduced(CompilationCacheProduced)

Implementations§

Source§

impl PageEvents

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for PageEvents

Source§

fn clone(&self) -> PageEvents

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PageEvents

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PageEvents

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<BackForwardCacheNotUsed> for PageEvents

Source§

fn from(v: BackForwardCacheNotUsed) -> Self

Converts to this type from the input type.
Source§

impl From<CompilationCacheProduced> for PageEvents

Source§

fn from(v: CompilationCacheProduced) -> Self

Converts to this type from the input type.
Source§

impl From<DocumentOpened> for PageEvents

Source§

fn from(v: DocumentOpened) -> Self

Converts to this type from the input type.
Source§

impl From<DomContentEventFired> for PageEvents

Source§

fn from(v: DomContentEventFired) -> Self

Converts to this type from the input type.
Source§

impl From<FileChooserOpened> for PageEvents

Source§

fn from(v: FileChooserOpened) -> Self

Converts to this type from the input type.
Source§

impl From<FrameAttached> for PageEvents

Source§

fn from(v: FrameAttached) -> Self

Converts to this type from the input type.
Source§

impl From<FrameDetached> for PageEvents

Source§

fn from(v: FrameDetached) -> Self

Converts to this type from the input type.
Source§

impl From<FrameNavigated> for PageEvents

Source§

fn from(v: FrameNavigated) -> Self

Converts to this type from the input type.
Source§

impl From<FrameRequestedNavigation> for PageEvents

Source§

fn from(v: FrameRequestedNavigation) -> Self

Converts to this type from the input type.
Source§

impl From<FrameResized> for PageEvents

Source§

fn from(v: FrameResized) -> Self

Converts to this type from the input type.
Source§

impl From<FrameStartedLoading> for PageEvents

Source§

fn from(v: FrameStartedLoading) -> Self

Converts to this type from the input type.
Source§

impl From<FrameStartedNavigating> for PageEvents

Source§

fn from(v: FrameStartedNavigating) -> Self

Converts to this type from the input type.
Source§

impl From<FrameStoppedLoading> for PageEvents

Source§

fn from(v: FrameStoppedLoading) -> Self

Converts to this type from the input type.
Source§

impl From<FrameSubtreeWillBeDetached> for PageEvents

Source§

fn from(v: FrameSubtreeWillBeDetached) -> Self

Converts to this type from the input type.
Source§

impl From<InterstitialHidden> for PageEvents

Source§

fn from(v: InterstitialHidden) -> Self

Converts to this type from the input type.
Source§

impl From<InterstitialShown> for PageEvents

Source§

fn from(v: InterstitialShown) -> Self

Converts to this type from the input type.
Source§

impl From<JavascriptDialogClosed> for PageEvents

Source§

fn from(v: JavascriptDialogClosed) -> Self

Converts to this type from the input type.
Source§

impl From<JavascriptDialogOpening> for PageEvents

Source§

fn from(v: JavascriptDialogOpening) -> Self

Converts to this type from the input type.
Source§

impl From<LifecycleEvent> for PageEvents

Source§

fn from(v: LifecycleEvent) -> Self

Converts to this type from the input type.
Source§

impl From<LoadEventFired> for PageEvents

Source§

fn from(v: LoadEventFired) -> Self

Converts to this type from the input type.
Source§

impl From<NavigatedWithinDocument> for PageEvents

Source§

fn from(v: NavigatedWithinDocument) -> Self

Converts to this type from the input type.
Source§

impl From<PageEvents> for BrowserProtocolEvents

Source§

fn from(v: PageEvents) -> Self

Converts to this type from the input type.
Source§

impl From<PageEvents> for Event

Source§

fn from(v: PageEvents) -> Self

Converts to this type from the input type.
Source§

impl From<ScreencastFrame> for PageEvents

Source§

fn from(v: ScreencastFrame) -> Self

Converts to this type from the input type.
Source§

impl From<ScreencastVisibilityChanged> for PageEvents

Source§

fn from(v: ScreencastVisibilityChanged) -> Self

Converts to this type from the input type.
Source§

impl From<WindowOpen> for PageEvents

Source§

fn from(v: WindowOpen) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for PageEvents

Source§

fn eq(&self, other: &PageEvents) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PageEvents

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<BrowserProtocolEvents> for PageEvents

Source§

type Error = BrowserProtocolEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <PageEvents as TryFrom<BrowserProtocolEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<Event> for PageEvents

Source§

type Error = Event

The type returned in the event of a conversion error.
Source§

fn try_from(e: Event) -> Result<Self, <PageEvents as TryFrom<Event>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for BackForwardCacheNotUsed

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <BackForwardCacheNotUsed as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for CompilationCacheProduced

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <CompilationCacheProduced as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for DocumentOpened

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <DocumentOpened as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for DomContentEventFired

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <DomContentEventFired as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FileChooserOpened

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FileChooserOpened as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameAttached

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameAttached as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameDetached

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameDetached as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameNavigated

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameNavigated as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameRequestedNavigation

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameRequestedNavigation as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameResized

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameResized as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameStartedLoading

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameStartedLoading as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameStartedNavigating

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameStartedNavigating as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameStoppedLoading

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameStoppedLoading as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for FrameSubtreeWillBeDetached

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <FrameSubtreeWillBeDetached as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for InterstitialHidden

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <InterstitialHidden as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for InterstitialShown

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <InterstitialShown as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for JavascriptDialogClosed

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <JavascriptDialogClosed as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for JavascriptDialogOpening

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <JavascriptDialogOpening as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for LifecycleEvent

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <LifecycleEvent as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for LoadEventFired

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <LoadEventFired as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for NavigatedWithinDocument

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <NavigatedWithinDocument as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for ScreencastFrame

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <ScreencastFrame as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for ScreencastVisibilityChanged

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <ScreencastVisibilityChanged as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<PageEvents> for WindowOpen

Source§

type Error = PageEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: PageEvents, ) -> Result<Self, <WindowOpen as TryFrom<PageEvents>>::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for PageEvents

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,