Enum age::cli_common::Passphrase
source · [−]pub enum Passphrase {
Typed(SecretString),
Generated(SecretString),
}
Available on crate feature
cli-common
only.Expand description
A passphrase.
Variants
Typed(SecretString)
Typed by the user.
Generated(SecretString)
Generated.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Passphrase
impl Send for Passphrase
impl Sync for Passphrase
impl Unpin for Passphrase
impl UnwindSafe for Passphrase
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