pub enum WebInspectorEvent {
CurrentState {
availability: AutomationAvailability,
},
ConnectedApplications {
applications: Vec<Application>,
},
ConnectedDrivers,
Listing {
application_id: String,
pages: Vec<Page>,
},
ApplicationUpdated {
application: Application,
},
ApplicationConnected {
application: Application,
},
SocketData {
application_id: Option<String>,
message: Value,
},
ApplicationDisconnected {
application_id: String,
},
}Variants§
CurrentState
Fields
§
availability: AutomationAvailabilityConnectedApplications
Fields
§
applications: Vec<Application>ConnectedDrivers
Listing
ApplicationUpdated
Fields
§
application: ApplicationApplicationConnected
Fields
§
application: ApplicationSocketData
ApplicationDisconnected
Trait Implementations§
Source§impl Clone for WebInspectorEvent
impl Clone for WebInspectorEvent
Source§fn clone(&self) -> WebInspectorEvent
fn clone(&self) -> WebInspectorEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebInspectorEvent
impl Debug for WebInspectorEvent
Source§impl PartialEq for WebInspectorEvent
impl PartialEq for WebInspectorEvent
Source§fn eq(&self, other: &WebInspectorEvent) -> bool
fn eq(&self, other: &WebInspectorEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebInspectorEvent
impl Serialize for WebInspectorEvent
impl StructuralPartialEq for WebInspectorEvent
Auto Trait Implementations§
impl Freeze for WebInspectorEvent
impl RefUnwindSafe for WebInspectorEvent
impl Send for WebInspectorEvent
impl Sync for WebInspectorEvent
impl Unpin for WebInspectorEvent
impl UnsafeUnpin for WebInspectorEvent
impl UnwindSafe for WebInspectorEvent
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