[][src]Module ethereum_rust_utils::storage

Re-exports

pub use self::addressbook::error::AddressbookError;
pub use self::addressbook::AddressbookStorage;

Modules

addressbook

Addressbook utils

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

KeystoreError

Traits

KeyfileStorage

Storage for KeyFiles

Functions

build_addressbook_storage

Creates specific type of Addressbook storage (database or filesystem)

build_contract_storage

Creates specific type of Contract 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