pub enum MethodKind {
Ssh,
SecurityKey,
AgePq,
RecoveryCode,
}Expand description
What opens a person’s encryption key.
Variants§
Ssh
An SSH key file (the CLI).
SecurityKey
A security key: WebAuthn PRF in the browser, FIDO2 hmac-secret in the CLI.
AgePq
An age1pq1… key file (the CLI).
RecoveryCode
A printed recovery code.
Implementations§
Trait Implementations§
Source§impl Clone for MethodKind
impl Clone for MethodKind
impl Copy for MethodKind
Source§impl Debug for MethodKind
impl Debug for MethodKind
Source§impl<'de> Deserialize<'de> for MethodKind
impl<'de> Deserialize<'de> for MethodKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MethodKind
Source§impl PartialEq for MethodKind
impl PartialEq for MethodKind
Source§impl Serialize for MethodKind
impl Serialize for MethodKind
impl StructuralPartialEq for MethodKind
Auto Trait Implementations§
impl Freeze for MethodKind
impl RefUnwindSafe for MethodKind
impl Send for MethodKind
impl Sync for MethodKind
impl Unpin for MethodKind
impl UnsafeUnpin for MethodKind
impl UnwindSafe for MethodKind
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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