Trait IdHash

Source
pub trait IdHash {
    // Required method
    fn id_hash<H>(&self, h: &mut H)
       where H: Hasher;
}
Expand description

A trait to generate an identification hash for any of the VBus data types.

Required Methods§

Source

fn id_hash<H>(&self, h: &mut H)
where H: Hasher,

Creates an identification hash for this VBus data value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§