Trait coins_bip39::wordlist::Wordlist
source · [−]pub trait Wordlist {
const WORDLIST: &'static str;
fn get(index: usize) -> Result<String, WordlistError> { ... }
fn get_index(word: &str) -> Result<usize, WordlistError> { ... }
fn get_all() -> Vec<&'static str> { ... }
}
Required Associated Constants
Provided Methods
Returns the word of a given index from the word list.
Returns the index of a given word from the word list.