[][src]Enum thrussh_keys::key::SignatureHash

pub enum SignatureHash {
    SHA2_256,
    SHA2_512,
    SHA1,
}

The hash function used for hashing buffers.

Variants

SHA2_256

SHA2, 256 bits.

SHA2_512

SHA2, 512 bits.

SHA1

SHA1

Implementations

impl SignatureHash[src]

pub fn name(&self) -> Name[src]

Trait Implementations

impl Clone for SignatureHash[src]

impl Copy for SignatureHash[src]

impl Debug for SignatureHash[src]

impl<'de> Deserialize<'de> for SignatureHash[src]

impl Eq for SignatureHash[src]

impl Hash for SignatureHash[src]

impl PartialEq<SignatureHash> for SignatureHash[src]

impl Serialize for SignatureHash[src]

impl StructuralEq for SignatureHash[src]

impl StructuralPartialEq for SignatureHash[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.