pub struct DOMStorageClient { /* private fields */ }Expand description
Client for DOMStorage domain commands.
Implementations§
Source§impl DOMStorageClient
impl DOMStorageClient
pub async fn clear( &self, params: ClearParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Sourcepub async fn disable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn disable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
Disables storage tracking, prevents storage events from being sent to the client.
Sourcepub async fn enable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
pub async fn enable(&self, session_id: Option<&str>) -> Result<Value, CdpError>
Enables storage tracking, storage events will now be delivered to the client.
pub async fn get_dom_storage_items( &self, params: GetDomStorageItemsParams, session_id: Option<&str>, ) -> Result<GetDomStorageItemsReturns, CdpError>
pub async fn remove_dom_storage_item( &self, params: RemoveDomStorageItemParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
pub async fn set_dom_storage_item( &self, params: SetDomStorageItemParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Auto Trait Implementations§
impl Freeze for DOMStorageClient
impl !RefUnwindSafe for DOMStorageClient
impl Send for DOMStorageClient
impl Sync for DOMStorageClient
impl Unpin for DOMStorageClient
impl UnsafeUnpin for DOMStorageClient
impl !UnwindSafe for DOMStorageClient
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