pub enum KeyPurpose {
Identity,
Encryption,
}Expand description
What a sealed seed is for. Stored in the file so the wrong key cannot be used silently against the right command.
Variants§
Identity
A master seed from which both the encryption and signing keys derive.
Encryption
A bare recipient seed, as written by v0.4.0 and earlier.
Trait Implementations§
Source§impl Clone for KeyPurpose
impl Clone for KeyPurpose
impl Copy for KeyPurpose
Source§impl Debug for KeyPurpose
impl Debug for KeyPurpose
Source§impl Display for KeyPurpose
impl Display for KeyPurpose
impl Eq for KeyPurpose
Source§impl PartialEq for KeyPurpose
impl PartialEq for KeyPurpose
impl StructuralPartialEq for KeyPurpose
Auto Trait Implementations§
impl Forget for KeyPurpose
impl Freeze for KeyPurpose
impl Move for KeyPurpose
impl RefUnwindSafe for KeyPurpose
impl Send for KeyPurpose
impl Sync for KeyPurpose
impl Unpin for KeyPurpose
impl UnsafeUnpin for KeyPurpose
impl UnwindSafe for KeyPurpose
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