pub enum Event {
BrowsingContext(BrowsingContextEvent),
Input(InputEvent),
Log(LogEvent),
Network(NetworkEvent),
Script(ScriptEvent),
Other(Value),
}Variants§
BrowsingContext(BrowsingContextEvent)
Input(InputEvent)
Log(LogEvent)
Network(NetworkEvent)
Script(ScriptEvent)
Other(Value)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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<AuthRequired> for Event
impl From<AuthRequired> for Event
Source§fn from(v: AuthRequired) -> Self
fn from(v: AuthRequired) -> Self
Converts to this type from the input type.
Source§impl From<BeforeRequestSent> for Event
impl From<BeforeRequestSent> for Event
Source§fn from(v: BeforeRequestSent) -> Self
fn from(v: BeforeRequestSent) -> Self
Converts to this type from the input type.
Source§impl From<BrowsingContextEvent> for Event
impl From<BrowsingContextEvent> for Event
Source§fn from(v: BrowsingContextEvent) -> Self
fn from(v: BrowsingContextEvent) -> Self
Converts to this type from the input type.
Source§impl From<ContextCreated> for Event
impl From<ContextCreated> for Event
Source§fn from(v: ContextCreated) -> Self
fn from(v: ContextCreated) -> Self
Converts to this type from the input type.
Source§impl From<ContextDestroyed> for Event
impl From<ContextDestroyed> for Event
Source§fn from(v: ContextDestroyed) -> Self
fn from(v: ContextDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<DomContentLoaded> for Event
impl From<DomContentLoaded> for Event
Source§fn from(v: DomContentLoaded) -> Self
fn from(v: DomContentLoaded) -> Self
Converts to this type from the input type.
Source§impl From<DownloadEnd> for Event
impl From<DownloadEnd> for Event
Source§fn from(v: DownloadEnd) -> Self
fn from(v: DownloadEnd) -> Self
Converts to this type from the input type.
Source§impl From<DownloadWillBegin> for Event
impl From<DownloadWillBegin> for Event
Source§fn from(v: DownloadWillBegin) -> Self
fn from(v: DownloadWillBegin) -> Self
Converts to this type from the input type.
Source§impl From<EntryAdded> for Event
impl From<EntryAdded> for Event
Source§fn from(v: EntryAdded) -> Self
fn from(v: EntryAdded) -> Self
Converts to this type from the input type.
Source§impl From<FetchError> for Event
impl From<FetchError> for Event
Source§fn from(v: FetchError) -> Self
fn from(v: FetchError) -> Self
Converts to this type from the input type.
Source§impl From<FileDialogOpened> for Event
impl From<FileDialogOpened> for Event
Source§fn from(v: FileDialogOpened) -> Self
fn from(v: FileDialogOpened) -> Self
Converts to this type from the input type.
Source§fn from(v: FragmentNavigated) -> Self
fn from(v: FragmentNavigated) -> Self
Converts to this type from the input type.
Source§impl From<HistoryUpdated> for Event
impl From<HistoryUpdated> for Event
Source§fn from(v: HistoryUpdated) -> Self
fn from(v: HistoryUpdated) -> Self
Converts to this type from the input type.
Source§impl From<InputEvent> for Event
impl From<InputEvent> for Event
Source§fn from(v: InputEvent) -> Self
fn from(v: InputEvent) -> Self
Converts to this type from the input type.
Source§fn from(v: NavigationAborted) -> Self
fn from(v: NavigationAborted) -> Self
Converts to this type from the input type.
Source§fn from(v: NavigationCommitted) -> Self
fn from(v: NavigationCommitted) -> Self
Converts to this type from the input type.
Source§fn from(v: NavigationFailed) -> Self
fn from(v: NavigationFailed) -> Self
Converts to this type from the input type.
Source§fn from(v: NavigationStarted) -> Self
fn from(v: NavigationStarted) -> Self
Converts to this type from the input type.
Source§impl From<NetworkEvent> for Event
impl From<NetworkEvent> for Event
Source§fn from(v: NetworkEvent) -> Self
fn from(v: NetworkEvent) -> Self
Converts to this type from the input type.
Source§impl From<RealmCreated> for Event
impl From<RealmCreated> for Event
Source§fn from(v: RealmCreated) -> Self
fn from(v: RealmCreated) -> Self
Converts to this type from the input type.
Source§impl From<RealmDestroyed> for Event
impl From<RealmDestroyed> for Event
Source§fn from(v: RealmDestroyed) -> Self
fn from(v: RealmDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<ResponseCompleted> for Event
impl From<ResponseCompleted> for Event
Source§fn from(v: ResponseCompleted) -> Self
fn from(v: ResponseCompleted) -> Self
Converts to this type from the input type.
Source§impl From<ResponseStarted> for Event
impl From<ResponseStarted> for Event
Source§fn from(v: ResponseStarted) -> Self
fn from(v: ResponseStarted) -> Self
Converts to this type from the input type.
Source§impl From<ScriptEvent> for Event
impl From<ScriptEvent> for Event
Source§fn from(v: ScriptEvent) -> Self
fn from(v: ScriptEvent) -> Self
Converts to this type from the input type.
Source§impl From<UserPromptClosed> for Event
impl From<UserPromptClosed> for Event
Source§fn from(v: UserPromptClosed) -> Self
fn from(v: UserPromptClosed) -> Self
Converts to this type from the input type.
Source§impl From<UserPromptOpened> for Event
impl From<UserPromptOpened> for Event
Source§fn from(v: UserPromptOpened) -> Self
fn from(v: UserPromptOpened) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Event> for AuthRequired
impl TryFrom<Event> for AuthRequired
Source§impl TryFrom<Event> for BeforeRequestSent
impl TryFrom<Event> for BeforeRequestSent
Source§impl TryFrom<Event> for BrowsingContextEvent
impl TryFrom<Event> for BrowsingContextEvent
Source§impl TryFrom<Event> for ContextCreated
impl TryFrom<Event> for ContextCreated
Source§impl TryFrom<Event> for ContextDestroyed
impl TryFrom<Event> for ContextDestroyed
Source§impl TryFrom<Event> for DomContentLoaded
impl TryFrom<Event> for DomContentLoaded
Source§impl TryFrom<Event> for DownloadEnd
impl TryFrom<Event> for DownloadEnd
Source§impl TryFrom<Event> for DownloadWillBegin
impl TryFrom<Event> for DownloadWillBegin
Source§impl TryFrom<Event> for EntryAdded
impl TryFrom<Event> for EntryAdded
Source§impl TryFrom<Event> for FetchError
impl TryFrom<Event> for FetchError
Source§impl TryFrom<Event> for FileDialogOpened
impl TryFrom<Event> for FileDialogOpened
Source§impl TryFrom<Event> for HistoryUpdated
impl TryFrom<Event> for HistoryUpdated
Source§impl TryFrom<Event> for InputEvent
impl TryFrom<Event> for InputEvent
Source§impl TryFrom<Event> for NetworkEvent
impl TryFrom<Event> for NetworkEvent
Source§impl TryFrom<Event> for RealmCreated
impl TryFrom<Event> for RealmCreated
Source§impl TryFrom<Event> for RealmDestroyed
impl TryFrom<Event> for RealmDestroyed
Source§impl TryFrom<Event> for ResponseCompleted
impl TryFrom<Event> for ResponseCompleted
Source§impl TryFrom<Event> for ResponseStarted
impl TryFrom<Event> for ResponseStarted
Source§impl TryFrom<Event> for ScriptEvent
impl TryFrom<Event> for ScriptEvent
Source§impl TryFrom<Event> for UserPromptClosed
impl TryFrom<Event> for UserPromptClosed
Source§impl TryFrom<Event> for UserPromptOpened
impl TryFrom<Event> for UserPromptOpened
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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