pub struct DOMDebuggerClient { /* private fields */ }Expand description
Client for DOMDebugger domain commands.
Implementations§
Source§impl DOMDebuggerClient
impl DOMDebuggerClient
Sourcepub async fn get_event_listeners(
&self,
params: GetEventListenersParams,
session_id: Option<&str>,
) -> Result<GetEventListenersReturns, CdpError>
pub async fn get_event_listeners( &self, params: GetEventListenersParams, session_id: Option<&str>, ) -> Result<GetEventListenersReturns, CdpError>
Returns event listeners of the given object.
Sourcepub async fn remove_dom_breakpoint(
&self,
params: RemoveDomBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn remove_dom_breakpoint( &self, params: RemoveDomBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Removes DOM breakpoint that was set using setDOMBreakpoint.
Sourcepub async fn remove_event_listener_breakpoint(
&self,
params: RemoveEventListenerBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn remove_event_listener_breakpoint( &self, params: RemoveEventListenerBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Removes breakpoint on particular DOM event.
Sourcepub async fn remove_instrumentation_breakpoint(
&self,
params: RemoveInstrumentationBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn remove_instrumentation_breakpoint( &self, params: RemoveInstrumentationBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Removes breakpoint on particular native event.
Sourcepub async fn remove_xhr_breakpoint(
&self,
params: RemoveXhrBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn remove_xhr_breakpoint( &self, params: RemoveXhrBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Removes breakpoint from XMLHttpRequest.
Sourcepub async fn set_break_on_csp_violation(
&self,
params: SetBreakOnCspViolationParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_break_on_csp_violation( &self, params: SetBreakOnCspViolationParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sets breakpoint on particular CSP violations.
Sourcepub async fn set_dom_breakpoint(
&self,
params: SetDomBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_dom_breakpoint( &self, params: SetDomBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sets breakpoint on particular operation with DOM.
Sourcepub async fn set_event_listener_breakpoint(
&self,
params: SetEventListenerBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_event_listener_breakpoint( &self, params: SetEventListenerBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sets breakpoint on particular DOM event.
Sourcepub async fn set_instrumentation_breakpoint(
&self,
params: SetInstrumentationBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_instrumentation_breakpoint( &self, params: SetInstrumentationBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sets breakpoint on particular native event.
Sourcepub async fn set_xhr_breakpoint(
&self,
params: SetXhrBreakpointParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_xhr_breakpoint( &self, params: SetXhrBreakpointParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sets breakpoint on XMLHttpRequest.
Auto Trait Implementations§
impl Freeze for DOMDebuggerClient
impl !RefUnwindSafe for DOMDebuggerClient
impl Send for DOMDebuggerClient
impl Sync for DOMDebuggerClient
impl Unpin for DOMDebuggerClient
impl UnsafeUnpin for DOMDebuggerClient
impl !UnwindSafe for DOMDebuggerClient
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