pub struct MnemonicStore { /* private fields */ }
Expand description
Mnemonic storage backend.
On most platforms it will be backed by a file. On wasm it will be
backed by local storage.
Generates a new mnemonic and stores it.
Gets a mnemonic if there is one or generates a new mnemonic
if the store is empty.
Creates a new mnemonic store optinally taking a path.
Sets the stored mnemonic.
Returns the stored mnemonic.
Checks if a mnemonic is stored.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.