pub struct BackgroundServiceClient { /* private fields */ }Expand description
Client for BackgroundService domain commands.
Implementations§
Source§impl BackgroundServiceClient
impl BackgroundServiceClient
Sourcepub async fn start_observing(
&self,
params: StartObservingParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn start_observing( &self, params: StartObservingParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Enables event updates for the service.
Sourcepub async fn stop_observing(
&self,
params: StopObservingParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn stop_observing( &self, params: StopObservingParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Disables event updates for the service.
Sourcepub async fn set_recording(
&self,
params: SetRecordingParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn set_recording( &self, params: SetRecordingParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Set the recording state for the service.
Sourcepub async fn clear_events(
&self,
params: ClearEventsParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn clear_events( &self, params: ClearEventsParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Clears all stored data for the service.
Auto Trait Implementations§
impl Freeze for BackgroundServiceClient
impl !RefUnwindSafe for BackgroundServiceClient
impl Send for BackgroundServiceClient
impl Sync for BackgroundServiceClient
impl Unpin for BackgroundServiceClient
impl UnsafeUnpin for BackgroundServiceClient
impl !UnwindSafe for BackgroundServiceClient
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