pub struct ServiceWorkerClient { /* private fields */ }Expand description
Client for ServiceWorker domain commands.
Implementations§
Source§impl ServiceWorkerClient
impl ServiceWorkerClient
pub async fn deliver_push_message( &self, params: DeliverPushMessageParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn disable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn dispatch_sync_event( &self, params: DispatchSyncEventParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn dispatch_periodic_sync_event( &self, params: DispatchPeriodicSyncEventParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn enable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn set_force_update_on_page_load( &self, params: SetForceUpdateOnPageLoadParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn skip_waiting( &self, params: SkipWaitingParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn start_worker( &self, params: StartWorkerParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn stop_all_workers( &self, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn stop_worker( &self, params: StopWorkerParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn unregister( &self, params: UnregisterParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn update_registration( &self, params: UpdateRegistrationParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Auto Trait Implementations§
impl Freeze for ServiceWorkerClient
impl !RefUnwindSafe for ServiceWorkerClient
impl Send for ServiceWorkerClient
impl Sync for ServiceWorkerClient
impl Unpin for ServiceWorkerClient
impl UnsafeUnpin for ServiceWorkerClient
impl !UnwindSafe for ServiceWorkerClient
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