Enum libssh_rs::PublicKeyHashType
source · pub enum PublicKeyHashType {
Sha1,
Md5,
Sha256,
}Expand description
The type of hash to use when inspecting a public key fingerprint
Variants§
Trait Implementations§
source§impl Clone for PublicKeyHashType
impl Clone for PublicKeyHashType
source§fn clone(&self) -> PublicKeyHashType
fn clone(&self) -> PublicKeyHashType
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 moresource§impl Debug for PublicKeyHashType
impl Debug for PublicKeyHashType
source§impl PartialEq<PublicKeyHashType> for PublicKeyHashType
impl PartialEq<PublicKeyHashType> for PublicKeyHashType
source§fn eq(&self, other: &PublicKeyHashType) -> bool
fn eq(&self, other: &PublicKeyHashType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.