Trait coins_bip39::wordlist::Wordlist
source · pub trait Wordlist {
// Required method
fn get_all() -> &'static [&'static str];
// Provided methods
fn get(index: usize) -> Result<&'static str, WordlistError> { ... }
fn get_index(word: &str) -> Result<usize, WordlistError> { ... }
}
Expand description
The Wordlist trait that every language’s wordlist must implement.