pub enum IndexedDbCommands {
ClearObjectStore(ClearObjectStore),
DeleteDatabase(DeleteDatabase),
DeleteObjectStoreEntries(DeleteObjectStoreEntries),
Disable(Disable),
Enable(Enable),
RequestData(RequestData),
GetMetadata(GetMetadata),
RequestDatabase(RequestDatabase),
RequestDatabaseNames(RequestDatabaseNames),
}Variants§
ClearObjectStore(ClearObjectStore)
DeleteDatabase(DeleteDatabase)
DeleteObjectStoreEntries(DeleteObjectStoreEntries)
Disable(Disable)
Enable(Enable)
RequestData(RequestData)
GetMetadata(GetMetadata)
RequestDatabase(RequestDatabase)
RequestDatabaseNames(RequestDatabaseNames)
Implementations§
Source§impl IndexedDbCommands
impl IndexedDbCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for IndexedDbCommands
impl Clone for IndexedDbCommands
Source§fn clone(&self) -> IndexedDbCommands
fn clone(&self) -> IndexedDbCommands
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 IndexedDbCommands
impl Debug for IndexedDbCommands
Source§impl<'de> Deserialize<'de> for IndexedDbCommands
impl<'de> Deserialize<'de> for IndexedDbCommands
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<ClearObjectStore> for IndexedDbCommands
impl From<ClearObjectStore> for IndexedDbCommands
Source§fn from(v: ClearObjectStore) -> Self
fn from(v: ClearObjectStore) -> Self
Converts to this type from the input type.
Source§impl From<DeleteDatabase> for IndexedDbCommands
impl From<DeleteDatabase> for IndexedDbCommands
Source§fn from(v: DeleteDatabase) -> Self
fn from(v: DeleteDatabase) -> Self
Converts to this type from the input type.
Source§impl From<DeleteObjectStoreEntries> for IndexedDbCommands
impl From<DeleteObjectStoreEntries> for IndexedDbCommands
Source§fn from(v: DeleteObjectStoreEntries) -> Self
fn from(v: DeleteObjectStoreEntries) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for IndexedDbCommands
impl From<Disable> for IndexedDbCommands
Source§impl From<Enable> for IndexedDbCommands
impl From<Enable> for IndexedDbCommands
Source§impl From<GetMetadata> for IndexedDbCommands
impl From<GetMetadata> for IndexedDbCommands
Source§fn from(v: GetMetadata) -> Self
fn from(v: GetMetadata) -> Self
Converts to this type from the input type.
Source§impl From<IndexedDbCommands> for BrowserProtocolCommands
impl From<IndexedDbCommands> for BrowserProtocolCommands
Source§fn from(v: IndexedDbCommands) -> Self
fn from(v: IndexedDbCommands) -> Self
Converts to this type from the input type.
Source§impl From<IndexedDbCommands> for Command
impl From<IndexedDbCommands> for Command
Source§fn from(v: IndexedDbCommands) -> Self
fn from(v: IndexedDbCommands) -> Self
Converts to this type from the input type.
Source§impl From<RequestData> for IndexedDbCommands
impl From<RequestData> for IndexedDbCommands
Source§fn from(v: RequestData) -> Self
fn from(v: RequestData) -> Self
Converts to this type from the input type.
Source§impl From<RequestDatabase> for IndexedDbCommands
impl From<RequestDatabase> for IndexedDbCommands
Source§fn from(v: RequestDatabase) -> Self
fn from(v: RequestDatabase) -> Self
Converts to this type from the input type.
Source§impl From<RequestDatabaseNames> for IndexedDbCommands
impl From<RequestDatabaseNames> for IndexedDbCommands
Source§fn from(v: RequestDatabaseNames) -> Self
fn from(v: RequestDatabaseNames) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexedDbCommands
impl PartialEq for IndexedDbCommands
Source§impl Serialize for IndexedDbCommands
impl Serialize for IndexedDbCommands
Source§impl TryFrom<BrowserProtocolCommands> for IndexedDbCommands
impl TryFrom<BrowserProtocolCommands> for IndexedDbCommands
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, <IndexedDbCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <IndexedDbCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for IndexedDbCommands
impl TryFrom<Command> for IndexedDbCommands
Source§impl TryFrom<IndexedDbCommands> for ClearObjectStore
impl TryFrom<IndexedDbCommands> for ClearObjectStore
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <ClearObjectStore as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <ClearObjectStore as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for DeleteDatabase
impl TryFrom<IndexedDbCommands> for DeleteDatabase
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <DeleteDatabase as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <DeleteDatabase as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for DeleteObjectStoreEntries
impl TryFrom<IndexedDbCommands> for DeleteObjectStoreEntries
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <DeleteObjectStoreEntries as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <DeleteObjectStoreEntries as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for Disable
impl TryFrom<IndexedDbCommands> for Disable
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <Disable as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <Disable as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for Enable
impl TryFrom<IndexedDbCommands> for Enable
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <Enable as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <Enable as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for GetMetadata
impl TryFrom<IndexedDbCommands> for GetMetadata
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <GetMetadata as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <GetMetadata as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for RequestData
impl TryFrom<IndexedDbCommands> for RequestData
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <RequestData as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <RequestData as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for RequestDatabase
impl TryFrom<IndexedDbCommands> for RequestDatabase
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <RequestDatabase as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <RequestDatabase as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IndexedDbCommands> for RequestDatabaseNames
impl TryFrom<IndexedDbCommands> for RequestDatabaseNames
Source§type Error = IndexedDbCommands
type Error = IndexedDbCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: IndexedDbCommands,
) -> Result<Self, <RequestDatabaseNames as TryFrom<IndexedDbCommands>>::Error>
fn try_from( e: IndexedDbCommands, ) -> Result<Self, <RequestDatabaseNames as TryFrom<IndexedDbCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for IndexedDbCommands
Auto Trait Implementations§
impl Freeze for IndexedDbCommands
impl RefUnwindSafe for IndexedDbCommands
impl Send for IndexedDbCommands
impl Sync for IndexedDbCommands
impl Unpin for IndexedDbCommands
impl UnsafeUnpin for IndexedDbCommands
impl UnwindSafe for IndexedDbCommands
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