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 strName of the key type.
short_name: &'static strShort name of the key type.
is_cert: boolIndicates whether the key type represents a certificate or not.
is_sk: boolIndicates whether the key type is used with a security key or not
kind: KeyTypeKindKind of the key type.
plain: &'static strThe cert-less equivalent to a certified key type.
Implementations§
Trait Implementations§
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
impl Freeze for KeyType
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
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