Enum git2::cert::SshHostKeyType
source · #[non_exhaustive]
pub enum SshHostKeyType {
Unknown,
Rsa,
Dss,
Ecdsa256,
Ecdsa384,
Ecdsa521,
Ed255219,
}Expand description
The SSH host key type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Unknown key type
Rsa
RSA key type
Dss
DSS key type
Ecdsa256
ECDSA 256 key type
Ecdsa384
ECDSA 384 key type
Ecdsa521
ECDSA 521 key type
Ed255219
ED25519 key type
Implementations§
Trait Implementations§
source§impl Clone for SshHostKeyType
impl Clone for SshHostKeyType
source§fn clone(&self) -> SshHostKeyType
fn clone(&self) -> SshHostKeyType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more