pub struct Password<'a>(pub &'a str);
Expand description
A password that will be encoded as UTF-8 and derived with PBKDF2-SHA256.
Tuple Fields
0: &'a str
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Password<'a>
impl<'a> Send for Password<'a>
impl<'a> Sync for Password<'a>
impl<'a> Unpin for Password<'a>
impl<'a> UnwindSafe for Password<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more