Type Alias HashResult

Source
pub type HashResult<V> = Option<fn(&mut StableHashingContext<'_>, &V) -> Fingerprint>;

Aliased Type§

pub enum HashResult<V> {
    None,
    Some(fn(&mut StableHashingContext<'_>, &V) -> Fingerprint),
}

Variants§

§

None

No value.

§

Some(fn(&mut StableHashingContext<'_>, &V) -> Fingerprint)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.