Struct emerald_rs::storage::FsStorage
[−]
[src]
pub struct FsStorage { /* fields omitted */ }
Filesystem storage for KeyFiles
Methods
impl FsStorage
[src]
Trait Implementations
impl KeyfileStorage for FsStorage
[src]
fn put(&self, kf: &KeyFile) -> Result<(), Error>
[src]
Put new KeyFile
inside storage Read more
fn delete(&self, addr: &Address) -> Result<(), Error>
[src]
Delete KeyFile
from storage for specified Address
Read more
fn search_by_address(
&self,
addr: &Address
) -> Result<(AccountInfo, KeyFile), Error>
[src]
&self,
addr: &Address
) -> Result<(AccountInfo, KeyFile), Error>
Search of KeyFile
by specified Address
Provides additional meta info for account Read more
fn list_accounts(&self, show_hidden: bool) -> Result<Vec<AccountInfo>, Error>
[src]
Lists info for Keystore
files inside storage Can include hidden files if flag set. Read more
fn hide(&self, addr: &Address) -> Result<bool, Error>
[src]
Hide account for given address from being listed Read more
fn unhide(&self, addr: &Address) -> Result<bool, Error>
[src]
Unhide account for given address from being listed Read more
fn update(
&self,
addr: &Address,
name: Option<String>,
desc: Option<String>
) -> Result<(), Error>
[src]
&self,
addr: &Address,
name: Option<String>,
desc: Option<String>
) -> Result<(), Error>
Update account for given address with new name and description Read more
fn is_addr_exist(&self, addr: &Address) -> Result<(), KeyStorageError>
[src]
Check whether specified address is already inserted into the storage Read more