pub enum KeyBackend {
SecureEnclave,
Tpm,
Yubikey,
Software,
}Expand description
Where a device key is held. It is shown to admins and gives no authority.
Variants§
SecureEnclave
Apple Secure Enclave.
Tpm
A TPM.
Yubikey
A YubiKey.
Software
A file: anyone who can read it can sign.
Implementations§
Trait Implementations§
Source§impl Clone for KeyBackend
impl Clone for KeyBackend
impl Copy for KeyBackend
Source§impl Debug for KeyBackend
impl Debug for KeyBackend
Source§impl<'de> Deserialize<'de> for KeyBackend
impl<'de> Deserialize<'de> for KeyBackend
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 KeyBackend
Source§impl PartialEq for KeyBackend
impl PartialEq for KeyBackend
Source§impl Serialize for KeyBackend
impl Serialize for KeyBackend
impl StructuralPartialEq for KeyBackend
Auto Trait Implementations§
impl Forget for KeyBackend
impl Freeze for KeyBackend
impl Move for KeyBackend
impl RefUnwindSafe for KeyBackend
impl Send for KeyBackend
impl Sync for KeyBackend
impl Unpin for KeyBackend
impl UnsafeUnpin for KeyBackend
impl UnwindSafe for KeyBackend
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