Skip to main content

ExHash

Trait ExHash 

Source
pub trait ExHash: PointeeSized {
    type ExternalTraitSpecificationFor: Hash;

    // Required methods
    exec fn hash<H: Hasher>(&self, state: &mut H);
    exec fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)
       where Self: Sized;
}

Required Associated Types§

Required Methods§

Source

exec fn hash<H: Hasher>(&self, state: &mut H)

Source

exec fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§