Struct emerald_core::storage::Storages
[−]
[src]
pub struct Storages { /* fields omitted */ }
Base dir for internal data, all chain-related should be store in subdirectories
Methods
impl Storages
[src]
fn new(path: PathBuf) -> Storages
Create storage using user directory if specified, or default path in other case.
fn init(&self) -> Result<(), Error>
Initialize new storage
fn get_keystore_path(&self, chain_name: &str) -> Result<PathBuf, Error>
Get keystore storage by chain name
Trait Implementations
impl Debug for Storages
[src]
impl Clone for Storages
[src]
fn clone(&self) -> Storages
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more