pub struct KeyType {
pub name: &'static str,
pub short_name: &'static str,
pub is_cert: bool,
pub is_sk: bool,
pub kind: KeyTypeKind,
pub plain: &'static str,
}
Expand description
KeyType
represents the type of an OpenSSH key.
Fields
name: &'static str
Name of the key type.
short_name: &'static str
Short name of the key type.
is_cert: bool
Indicates whether the key type represents a certificate or not.
is_sk: bool
Indicates whether the key type is used with a security key or not
kind: KeyTypeKind
Kind of the key type.
plain: &'static str
The cert-less equivalent to a certified key type.
Implementations
Trait Implementations
impl StructuralPartialEq for KeyType
Auto Trait Implementations
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more