Struct sp_database::MemDb [−][src]
pub struct MemDb(_);
Expand description
This implements Database as an in-memory hash map. commit is not atomic.
Implementations
Trait Implementations
Commit the transaction to the database atomically. Any further calls to get or lookup
will reflect the new state. Read more
Retrieve the value previously stored against key or None if
key is not currently in the database. Read more
Check if the value exists in the database without retrieving it.
Check value size in the database possibly without retrieving it.
Call f with the value previously stored against key. Read more
Check if database supports internal ref counting for state data. Read more
Auto Trait Implementations
impl !RefUnwindSafe for MemDbimpl UnwindSafe for MemDb