Enum thrussh_keys::key::SignatureHash
source · pub enum SignatureHash {
SHA2_256,
SHA2_512,
SHA1,
}
Expand description
The hash function used for hashing buffers.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SignatureHash
impl Clone for SignatureHash
source§fn clone(&self) -> SignatureHash
fn clone(&self) -> SignatureHash
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 SignatureHash
impl Debug for SignatureHash
source§impl<'de> Deserialize<'de> for SignatureHash
impl<'de> Deserialize<'de> for SignatureHash
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SignatureHash
impl Hash for SignatureHash
source§impl PartialEq<SignatureHash> for SignatureHash
impl PartialEq<SignatureHash> for SignatureHash
source§fn eq(&self, other: &SignatureHash) -> bool
fn eq(&self, other: &SignatureHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignatureHash
impl Serialize for SignatureHash
impl Copy for SignatureHash
impl Eq for SignatureHash
impl StructuralEq for SignatureHash
impl StructuralPartialEq for SignatureHash
Auto Trait Implementations§
impl RefUnwindSafe for SignatureHash
impl Send for SignatureHash
impl Sync for SignatureHash
impl Unpin for SignatureHash
impl UnwindSafe for SignatureHash
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