Struct ring::digest::Digest [−][src]
pub struct Digest { /* fields omitted */ }A calculated digest value.
Use as_ref to get the value as a &[u8].
Methods
impl Digest[src]
impl Digestpub fn algorithm(&self) -> &'static Algorithm[src]
pub fn algorithm(&self) -> &'static AlgorithmThe algorithm that was used to calculate the digest value.
Trait Implementations
impl Clone for Digest[src]
impl Clone for Digestfn clone(&self) -> Digest[src]
fn clone(&self) -> DigestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Digest[src]
impl Copy for Digestimpl AsRef<[u8]> for Digest[src]
impl AsRef<[u8]> for Digestimpl Debug for Digest[src]
impl Debug for Digest