pub enum CacheStorageCommands {
DeleteCache(DeleteCache),
DeleteEntry(DeleteEntry),
RequestCacheNames(RequestCacheNames),
RequestCachedResponse(RequestCachedResponse),
RequestEntries(RequestEntries),
}Variants§
DeleteCache(DeleteCache)
DeleteEntry(DeleteEntry)
RequestCacheNames(RequestCacheNames)
RequestCachedResponse(RequestCachedResponse)
RequestEntries(RequestEntries)
Implementations§
Source§impl CacheStorageCommands
impl CacheStorageCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CacheStorageCommands
impl Clone for CacheStorageCommands
Source§fn clone(&self) -> CacheStorageCommands
fn clone(&self) -> CacheStorageCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CacheStorageCommands
impl Debug for CacheStorageCommands
Source§impl<'de> Deserialize<'de> for CacheStorageCommands
impl<'de> Deserialize<'de> for CacheStorageCommands
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CacheStorageCommands> for BrowserProtocolCommands
impl From<CacheStorageCommands> for BrowserProtocolCommands
Source§fn from(v: CacheStorageCommands) -> Self
fn from(v: CacheStorageCommands) -> Self
Converts to this type from the input type.
Source§impl From<CacheStorageCommands> for Command
impl From<CacheStorageCommands> for Command
Source§fn from(v: CacheStorageCommands) -> Self
fn from(v: CacheStorageCommands) -> Self
Converts to this type from the input type.
Source§impl From<DeleteCache> for CacheStorageCommands
impl From<DeleteCache> for CacheStorageCommands
Source§fn from(v: DeleteCache) -> Self
fn from(v: DeleteCache) -> Self
Converts to this type from the input type.
Source§impl From<DeleteEntry> for CacheStorageCommands
impl From<DeleteEntry> for CacheStorageCommands
Source§fn from(v: DeleteEntry) -> Self
fn from(v: DeleteEntry) -> Self
Converts to this type from the input type.
Source§impl From<RequestCacheNames> for CacheStorageCommands
impl From<RequestCacheNames> for CacheStorageCommands
Source§fn from(v: RequestCacheNames) -> Self
fn from(v: RequestCacheNames) -> Self
Converts to this type from the input type.
Source§impl From<RequestCachedResponse> for CacheStorageCommands
impl From<RequestCachedResponse> for CacheStorageCommands
Source§fn from(v: RequestCachedResponse) -> Self
fn from(v: RequestCachedResponse) -> Self
Converts to this type from the input type.
Source§impl From<RequestEntries> for CacheStorageCommands
impl From<RequestEntries> for CacheStorageCommands
Source§fn from(v: RequestEntries) -> Self
fn from(v: RequestEntries) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CacheStorageCommands
impl PartialEq for CacheStorageCommands
Source§impl Serialize for CacheStorageCommands
impl Serialize for CacheStorageCommands
Source§impl TryFrom<BrowserProtocolCommands> for CacheStorageCommands
impl TryFrom<BrowserProtocolCommands> for CacheStorageCommands
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <CacheStorageCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <CacheStorageCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CacheStorageCommands> for DeleteCache
impl TryFrom<CacheStorageCommands> for DeleteCache
Source§type Error = CacheStorageCommands
type Error = CacheStorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CacheStorageCommands,
) -> Result<Self, <DeleteCache as TryFrom<CacheStorageCommands>>::Error>
fn try_from( e: CacheStorageCommands, ) -> Result<Self, <DeleteCache as TryFrom<CacheStorageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CacheStorageCommands> for DeleteEntry
impl TryFrom<CacheStorageCommands> for DeleteEntry
Source§type Error = CacheStorageCommands
type Error = CacheStorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CacheStorageCommands,
) -> Result<Self, <DeleteEntry as TryFrom<CacheStorageCommands>>::Error>
fn try_from( e: CacheStorageCommands, ) -> Result<Self, <DeleteEntry as TryFrom<CacheStorageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CacheStorageCommands> for RequestCacheNames
impl TryFrom<CacheStorageCommands> for RequestCacheNames
Source§type Error = CacheStorageCommands
type Error = CacheStorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CacheStorageCommands,
) -> Result<Self, <RequestCacheNames as TryFrom<CacheStorageCommands>>::Error>
fn try_from( e: CacheStorageCommands, ) -> Result<Self, <RequestCacheNames as TryFrom<CacheStorageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CacheStorageCommands> for RequestCachedResponse
impl TryFrom<CacheStorageCommands> for RequestCachedResponse
Source§type Error = CacheStorageCommands
type Error = CacheStorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CacheStorageCommands,
) -> Result<Self, <RequestCachedResponse as TryFrom<CacheStorageCommands>>::Error>
fn try_from( e: CacheStorageCommands, ) -> Result<Self, <RequestCachedResponse as TryFrom<CacheStorageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<CacheStorageCommands> for RequestEntries
impl TryFrom<CacheStorageCommands> for RequestEntries
Source§type Error = CacheStorageCommands
type Error = CacheStorageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CacheStorageCommands,
) -> Result<Self, <RequestEntries as TryFrom<CacheStorageCommands>>::Error>
fn try_from( e: CacheStorageCommands, ) -> Result<Self, <RequestEntries as TryFrom<CacheStorageCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CacheStorageCommands
impl TryFrom<Command> for CacheStorageCommands
impl StructuralPartialEq for CacheStorageCommands
Auto Trait Implementations§
impl Freeze for CacheStorageCommands
impl RefUnwindSafe for CacheStorageCommands
impl Send for CacheStorageCommands
impl Sync for CacheStorageCommands
impl Unpin for CacheStorageCommands
impl UnsafeUnpin for CacheStorageCommands
impl UnwindSafe for CacheStorageCommands
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