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 Digest
pub fn algorithm(&self) -> &'static Algorithm
[src]
pub fn algorithm(&self) -> &'static Algorithm
The algorithm that was used to calculate the digest value.
Trait Implementations
impl Clone for Digest
[src]
impl Clone for Digest
fn clone(&self) -> Digest
[src]
fn clone(&self) -> Digest
Returns 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 Digest
impl AsRef<[u8]> for Digest
[src]
impl AsRef<[u8]> for Digest
impl Debug for Digest
[src]
impl Debug for Digest