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 ==
.impl Copy for PublicKeyHashType
impl Eq for PublicKeyHashType
impl StructuralEq for PublicKeyHashType
impl StructuralPartialEq for PublicKeyHashType
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyHashType
impl Send for PublicKeyHashType
impl Sync for PublicKeyHashType
impl Unpin for PublicKeyHashType
impl UnwindSafe for PublicKeyHashType
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