pub struct AlphaNumericPassword<const N: usize>(/* private fields */);Implementations§
Source§impl<const N: usize> AlphaNumericPassword<N>
impl<const N: usize> AlphaNumericPassword<N>
Sourcepub fn into_unprotected_string(self) -> String
pub fn into_unprotected_string(self) -> String
Converts the password into a standard String.
Once this happens, Zeroization is no longer guaranteed
so only do this as a final step where the password is needed.
pub fn into_protected_string(self) -> Protected<String>
Trait Implementations§
Source§impl<const N: usize> Generatable for AlphaNumericPassword<N>
impl<const N: usize> Generatable for AlphaNumericPassword<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for AlphaNumericPassword<N>
impl<const N: usize> RefUnwindSafe for AlphaNumericPassword<N>
impl<const N: usize> Send for AlphaNumericPassword<N>
impl<const N: usize> Sync for AlphaNumericPassword<N>
impl<const N: usize> Unpin for AlphaNumericPassword<N>
impl<const N: usize> UnwindSafe for AlphaNumericPassword<N>
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