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

pub struct DbStorage {
    pub db: DB,
}

Database backed storage for KeyFile

Fields

Database handler

Methods

impl DbStorage
[src]

[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]

[src]

Put new KeyFile inside storage Read more

[src]

Delete KeyFile from storage for specified Address Read more

[src]

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

[src]

Hide account for given address from being listed Read more

[src]

Unhide account for given address from being listed Read more

[src]

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

[src]

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

[src]

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

Auto Trait Implementations

impl Send for DbStorage

impl Sync for DbStorage