[][src]Struct ring::digest::Digest

pub struct Digest { /* fields omitted */ }

A calculated digest value.

Use as_ref to get the value as a &[u8].


impl Digest[src]

pub fn algorithm(&self) -> &'static Algorithm[src]

The algorithm that was used to calculate the digest value.

Trait Implementations

impl Debug for Digest[src]

impl Copy for Digest[src]

impl AsRef<[u8]> for Digest[src]

impl Clone for Digest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Digest

impl Sync for Digest

Blanket Implementations

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.