pub struct KeeChain {
pub keychain: Keychain,
/* private fields */
}
Fields§
§keychain: Keychain
Implementations§
Source§impl KeeChain
impl KeeChain
pub fn open<S, PSW>(name: S, get_password: PSW) -> Result<Self>
pub fn generate<S, PSW, E>( name: S, get_password: PSW, word_count: WordCount, get_custom_entropy: E, ) -> Result<Self>
pub fn restore<S, PSW, M>( name: S, get_password: PSW, get_mnemonic: M, ) -> Result<Self>
pub fn save(&self) -> Result<()>
pub fn check_password<S>(&self, password: S) -> bool
pub fn rename<S>(&mut self, new_name: S) -> Result<()>
pub fn change_password<NPSW>(&mut self, get_new_password: NPSW) -> Result<()>
pub fn wipe(&self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeeChain
impl RefUnwindSafe for KeeChain
impl Send for KeeChain
impl Sync for KeeChain
impl Unpin for KeeChain
impl UnwindSafe for KeeChain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more