# Struct ethstore::EthStore [−] [src]

    pub struct EthStore { /* fields omitted */ }

## Methods

### `impl EthStore`
[src]

#### `fn open(directory: Box<KeyDirectory>) -> Result<Self, Error>`

#### `fn open_with_iterations(directory: Box<KeyDirectory>,
iterations: u32)
-> Result<Self, Error>`

## Trait Implementations

### `impl SimpleSecretStore for EthStore`
[src]

#### `fn insert_account(&self,
vault: SecretVaultRef,
secret: Secret,
password: &str)
-> Result<StoreAccountRef, Error>`

#### `fn accounts(&self) -> Result<Vec<StoreAccountRef>, Error>`

#### `fn change_password(&self,
account: &StoreAccountRef,
old_password: &str,
new_password: &str)
-> Result<(), Error>`

#### `fn remove_account(&self,
account: &StoreAccountRef,
password: &str)
-> Result<(), Error>`

#### `fn sign(&self,
account: &StoreAccountRef,
password: &str,
message: &Message)
-> Result<Signature, Error>`

#### `fn decrypt(&self,
account: &StoreAccountRef,
password: &str,
shared_mac: &[u8],
message: &[u8])
-> Result<Vec<u8>, Error>`

#### `fn create_vault(&self, name: &str, password: &str) -> Result<(), Error>`

Create new vault with given password

#### `fn open_vault(&self, name: &str, password: &str) -> Result<(), Error>`

Open vault with given password

#### `fn close_vault(&self, name: &str) -> Result<(), Error>`

Close vault

#### `fn change_vault_password(&self,
name: &str,
password: &str,
new_password: &str)
-> Result<(), Error>`

Change vault password

### `impl SecretStore for EthStore`
[src]

#### `fn import_presale(&self,
vault: SecretVaultRef,
json: &[u8],
password: &str)
-> Result<StoreAccountRef, Error>`

#### `fn import_wallet(&self,
vault: SecretVaultRef,
json: &[u8],
password: &str)
-> Result<StoreAccountRef, Error>`

#### `fn test_password(&self,
account: &StoreAccountRef,
password: &str)
-> Result<bool, Error>`

#### `fn copy_account(&self,
new_store: &SimpleSecretStore,
new_vault: SecretVaultRef,
account: &StoreAccountRef,
password: &str,
new_password: &str)
-> Result<(), Error>`

#### `fn move_account(&self,
new_store: &SimpleSecretStore,
new_vault: SecretVaultRef,
account: &StoreAccountRef,
password: &str,
new_password: &str)
-> Result<(), Error>`

#### `fn public(&self,
account: &StoreAccountRef,
password: &str)
-> Result<Public, Error>`

#### `fn uuid(&self, account: &StoreAccountRef) -> Result<Uuid, Error>`

#### `fn name(&self, account: &StoreAccountRef) -> Result<String, Error>`

#### `fn meta(&self, account: &StoreAccountRef) -> Result<String, Error>`

#### `fn set_name(&self,
account_ref: &StoreAccountRef,
name: String)
-> Result<(), Error>`

#### `fn set_meta(&self,
account_ref: &StoreAccountRef,
meta: String)
-> Result<(), Error>`

#### `fn local_path(&self) -> String`

#### `fn list_geth_accounts(&self, testnet: bool) -> Vec<Address>`

#### `fn import_geth_accounts(&self,
vault: SecretVaultRef,
desired: Vec<Address>,
testnet: bool)
-> Result<Vec<StoreAccountRef>, Error>`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)