Crate idb_sys

Source
Expand description

A callback based crate for interacting with IndexedDB on browsers using webassembly.

Structs§

Cursor
Represents a cursor for traversing or iterating over multiple records in a database.
Database
Database provides a connection to a database; you can use an Database object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The object provides the only way to get and manage versions of the database.
DatabaseRequest
Request returned by Factory when opening or deleting a database.
Factory
Lets applications asynchronously access the indexed databases.
Index
Provides asynchronous access to an index in a database.
IndexParams
Options when creating Index.
KeyCursor
Represents a key cursor for traversing or iterating over multiple records (only keys) in a database.
KeyRange
Represents a continuous interval over some data type that is used for keys.
ObjectStore
Represents an object store in a database.
ObjectStoreParams
Options when creating an ObjectStore.
StoreRequest
Request returned when performing operations on an ObjectStore.
Transaction
Provides a static, asynchronous transaction on a database. All reading and writing of data is done within transactions.
VersionChangeEvent
Event triggered when the database version changes, as the result of an DatabaseRequest::on_upgrade_needed event handler function.

Enums§

CursorDirection
Specifies the cursor direction.
Error
Error type for idb-sys crate.
KeyPath
Represents key path of an object store
Query
Specifies a query when fetching data from object store
RequestReadyState
State of a request.
TransactionMode
Specifies the transaction mode.

Traits§

Request
Specifies all the functions supported by request objects.