Trait arber::Hashable[][src]

pub trait Hashable {
    fn hash(&self) -> Hash;
}
Expand description

Types with a canonical hash

Required methods

fn hash(&self) -> Hash[src]

Implementations on Foreign Types

impl Hashable for Vec<u8>[src]

fn hash(&self) -> Hash[src]

impl Hashable for u64[src]

fn hash(&self) -> Hash[src]

impl<A, B> Hashable for (A, B) where
    A: Hashable,
    B: Hashable
[src]

fn hash(&self) -> Hash[src]

Implementors

impl Hashable for Hash[src]

fn hash(&self) -> Hash[src]

Return the hash, without hashing again.