pub struct CacheStorageClient { /* private fields */ }Expand description
Client for CacheStorage domain commands.
Implementations§
Source§impl CacheStorageClient
impl CacheStorageClient
Sourcepub async fn delete_cache(
&self,
params: DeleteCacheParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn delete_cache( &self, params: DeleteCacheParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Deletes a cache.
Sourcepub async fn delete_entry(
&self,
params: DeleteEntryParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn delete_entry( &self, params: DeleteEntryParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Deletes a cache entry.
Sourcepub async fn request_cache_names(
&self,
params: RequestCacheNamesParams,
session_id: Option<&str>,
) -> Result<RequestCacheNamesReturns, CdpError>
pub async fn request_cache_names( &self, params: RequestCacheNamesParams, session_id: Option<&str>, ) -> Result<RequestCacheNamesReturns, CdpError>
Requests cache names.
Sourcepub async fn request_cached_response(
&self,
params: RequestCachedResponseParams,
session_id: Option<&str>,
) -> Result<RequestCachedResponseReturns, CdpError>
pub async fn request_cached_response( &self, params: RequestCachedResponseParams, session_id: Option<&str>, ) -> Result<RequestCachedResponseReturns, CdpError>
Fetches cache entry.
Sourcepub async fn request_entries(
&self,
params: RequestEntriesParams,
session_id: Option<&str>,
) -> Result<RequestEntriesReturns, CdpError>
pub async fn request_entries( &self, params: RequestEntriesParams, session_id: Option<&str>, ) -> Result<RequestEntriesReturns, CdpError>
Requests data from cache.
Auto Trait Implementations§
impl Freeze for CacheStorageClient
impl !RefUnwindSafe for CacheStorageClient
impl Send for CacheStorageClient
impl Sync for CacheStorageClient
impl Unpin for CacheStorageClient
impl UnsafeUnpin for CacheStorageClient
impl !UnwindSafe for CacheStorageClient
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