Module emerald_rs::storage [] [src]

Structs

AccountInfo

Short account info

ContractStorage

Contracts Service

DbStorage

Database backed storage for KeyFile

FsStorage

Filesystem storage for KeyFiles

StorageController

Controller to switch storage according to specified chain

Storages

Base dir for internal data, all chain-related should be store in subdirectories

Enums

KeyStorageError

Traits

KeyfileStorage

Storage for KeyFiles

Functions

build_contract_storage

Creates specific type of KeyFile storage (database or filesystem)

build_keyfile_storage

Creates specific type of KeyFile storage (database or filesystem)

build_path

Build chain specific path for selected folder

default_path

Default path (*nix)

generate_filename

Creates filename for keystore file in format: UTC--yyy-mm-ddThh-mm-ssZ--uuid