Struct emerald_rs::storage::DbStorage[][src]

pub struct DbStorage {
    pub db: DB,
}

Database backed storage for KeyFile

Fields

Database handler

Methods

impl DbStorage
[src]

Create new database storage Use specified directory as parent folder Storage structure: key - Address value - <filename> + SEPARATOR + <keyfile_json>

Arguments:

  • dir - parent folder

Trait Implementations

impl KeyfileStorage for DbStorage
[src]

Put new KeyFile inside storage Read more

Delete KeyFile from storage for specified Address Read more

Search of KeyFile by specified Address Provides additional meta info for account Read more

Hide account for given address from being listed Read more

Unhide account for given address from being listed Read more

Lists info for Keystore files inside storage Can include hidden files if flag set. Read more

Update account for given address with new name and description Read more

Check whether specified address is already inserted into the storage Read more

Auto Trait Implementations

impl Send for DbStorage

impl Sync for DbStorage