Enum bip39::language::Language
[−]
[src]
pub enum Language { English, }
Variants
English
Methods
impl Language
[src]
fn for_locale<S>(locale: S) -> Result<Language, Bip39Error> where S: Into<String>
Get the Language
value for a specific locale
Not used much at the moment as the standard specifies english
Example
use bip39::{Language}; let lang = Language::for_locale("en_US.UTF-8").unwrap();