pub struct Cdp { /* private fields */ }Implementations§
Source§impl Cdp
impl Cdp
pub fn connect(url: &str) -> Result<Self, String>
pub fn events(&self) -> &[Value]
pub fn call( &mut self, method: &str, params: Value, session_id: Option<&str>, ) -> Result<Value, String>
pub fn call_for( &mut self, method: &str, params: Value, session_id: Option<&str>, timeout: Duration, ) -> Result<Value, String>
pub fn notify(&mut self, method: &str, params: Value, session_id: Option<&str>)
pub fn wait_load(&mut self, session_id: &str) -> Result<(), String>
pub fn wait_load_since( &mut self, session_id: &str, from: usize, ) -> Result<(), String>
Auto Trait Implementations§
impl !RefUnwindSafe for Cdp
impl !Send for Cdp
impl !Sync for Cdp
impl !UnwindSafe for Cdp
impl Freeze for Cdp
impl Unpin for Cdp
impl UnsafeUnpin for Cdp
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