pub struct Bip39Generator { /* private fields */ }Implementations§
Source§impl Bip39Generator
impl Bip39Generator
pub fn new(dic: Dictionary) -> Self
pub fn gen_mnemonic<const LEN: usize>(&self) -> Result<String, Bip39Error>
pub fn gen_mnemonic_with<EG, const LEN: usize>( &self, rng: &mut EG, ) -> Result<String, Bip39Error>
pub fn mnemonic_from_entropy( &self, entropy: &[u8], ) -> Result<String, Bip39Error>
pub fn mnemonic_check<S>(&self, mnemonic: S) -> Result<(), Bip39Error>
Trait Implementations§
Source§impl Clone for Bip39Generator
impl Clone for Bip39Generator
Source§fn clone(&self) -> Bip39Generator
fn clone(&self) -> Bip39Generator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Bip39Generator
impl RefUnwindSafe for Bip39Generator
impl Send for Bip39Generator
impl Sync for Bip39Generator
impl Unpin for Bip39Generator
impl UnwindSafe for Bip39Generator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more