Crate idb_sys

source ·
Expand description

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

Structs

Represents a cursor for traversing or iterating over multiple records in a 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.
Request returned by Factory when opening or deleting a database.
Lets applications asynchronously access the indexed databases.
Provides asynchronous access to an index in a database.
Options when creating Index.
Represents a key cursor for traversing or iterating over multiple records (only keys) in a database.
Represents a continuous interval over some data type that is used for keys.
Represents an object store in a database.
Options when creating an ObjectStore.
Request returned when performing operations on an ObjectStore.
Provides a static, asynchronous transaction on a database. All reading and writing of data is done within transactions.
Event triggered when the database version changes, as the result of an DatabaseRequest::on_upgrade_needed event handler function.

Enums

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

Traits

Specifies all the functions supported by request objects.