Struct tetsy_kvdb_web::Database [−][src]
pub struct Database { /* fields omitted */ }
Expand description
Database backed by both IndexedDB and in memory implementation.
Implementations
Trait Implementations
Get the first value matching the given prefix.
Write a transaction of changes to the backing store.
Iterate over the data for a given column.
Iterate over the data for a given column, returning all key/value pairs where the key starts with the given prefix. Read more
Attempt to replace this database with a new one located at the given path.
Helper to create a new transaction.
Check for the existence of a value by key.
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If T::size_of
is a constant, consider implementing constant_size
as well. Read more
Used to optimize MallocSizeOf
implementation for collections
like Vec
and HashMap
to avoid iterating over them unnecessarily.
The Self: Sized
bound is for object safety. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Database
impl UnwindSafe for Database