Hashable

Trait Hashable 

Source
pub trait Hashable {
    // Required method
    fn calculate_hash(&mut self);
}
Expand description

A trait for hashing an object.

Required Methods§

Source

fn calculate_hash(&mut self)

Calculate the hash of an object and store the result in their internal structures

Implementors§

Source§

impl<'a, T> Hashable for BlockchainBlock<'a, T>
where T: Byteable,