[][src]Struct bitcoin_hashes::hmac::Hmac

pub struct Hmac<T: HashTrait>(_);

A hash computed from a RFC 2104 HMAC. Parameterized by the underlying hash function.

Trait Implementations

impl<T: HashTrait> Borrow<[u8]> for Hmac<T>[src]

impl<T: Clone + HashTrait> Clone for Hmac<T>[src]

impl<T: Copy + HashTrait> Copy for Hmac<T>[src]

impl<T: HashTrait> Debug for Hmac<T>[src]

impl<T: Default + HashTrait> Default for Hmac<T>[src]

impl<T: HashTrait> Display for Hmac<T>[src]

impl<T: Eq + HashTrait> Eq for Hmac<T>[src]

impl<T: HashTrait + FromStr> FromStr for Hmac<T>[src]

type Err = <T as FromStr>::Err

The associated error which can be returned from parsing.

impl<T: HashTrait> Hash for Hmac<T>[src]

type Engine = HmacEngine<T>

A hashing engine which bytes can be serialized into. It is expected to implement the io::Write trait, and to never return errors under any conditions. Read more

type Inner = T::Inner

The byte array that represents the hash internally

impl<T: Hash + HashTrait> Hash for Hmac<T>[src]

impl<T: HashTrait> Index<Range<usize>> for Hmac<T>[src]

type Output = [u8]

The returned type after indexing.

impl<T: HashTrait> Index<RangeFrom<usize>> for Hmac<T>[src]

type Output = [u8]

The returned type after indexing.

impl<T: HashTrait> Index<RangeFull> for Hmac<T>[src]

type Output = [u8]

The returned type after indexing.

impl<T: HashTrait> Index<RangeTo<usize>> for Hmac<T>[src]

type Output = [u8]

The returned type after indexing.

impl<T: HashTrait> Index<usize> for Hmac<T>[src]

type Output = u8

The returned type after indexing.

impl<T: HashTrait> LowerHex for Hmac<T>[src]

impl<T: Ord + HashTrait> Ord for Hmac<T>[src]

impl<T: PartialEq + HashTrait> PartialEq<Hmac<T>> for Hmac<T>[src]

impl<T: PartialOrd + HashTrait> PartialOrd<Hmac<T>> for Hmac<T>[src]

impl<T: HashTrait> StructuralEq for Hmac<T>[src]

impl<T: HashTrait> StructuralPartialEq for Hmac<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Hmac<T> where
    T: RefUnwindSafe

impl<T> Send for Hmac<T> where
    T: Send

impl<T> Sync for Hmac<T> where
    T: Sync

impl<T> Unpin for Hmac<T> where
    T: Unpin

impl<T> UnwindSafe for Hmac<T> where
    T: UnwindSafe

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> From<T> for T[src]

impl<T> FromHex for T where
    T: Hash
[src]

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

impl<T> ToHex for T where
    T: LowerHex
[src]

fn to_hex(&Self) -> String[src]

Outputs the hash in hexadecimal form

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.