pub trait StableHash {
    fn stable_hash<H: StableHasher>(
        &self,
        sequence_number: H::Seq,
        state: &mut H
    ); }
Expand description

Like Hash, but consistent across:

  • builds (independent of rustc version or std implementation details)
  • platforms (eg: 32 bit & 64 bit, x68 and ARM)
  • processes (multiple runs of the same program)

Required methods

Implementations on Foreign Types

Implementors