pub enum VaultKey {
Passphrase(String),
Keyfile {
identity: String,
pubkey: String,
},
}Expand description
Encryption mode for the vault.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VaultKey
impl RefUnwindSafe for VaultKey
impl Send for VaultKey
impl Sync for VaultKey
impl Unpin for VaultKey
impl UnsafeUnpin for VaultKey
impl UnwindSafe for VaultKey
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