Skip to main content

ReverseWrapper

Trait ReverseWrapper 

Source
pub trait ReverseWrapper {
    type Variant: CoreProxy + OutputSizeUser;
}
Expand description

This trait allows using a HashFunctionWrapper where a digest::Digest was expected.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<Variant: CoreProxy + OutputSizeUser, const DIGEST_LEN: usize> ReverseWrapper for HashFunctionWrapper<Variant, DIGEST_LEN>

Source§

type Variant = Variant