macro_rules! translate_hash_clone {
    ($source: ty, $target:ty, $error_ty: ty) => { ... };
}
Expand description

Macro for translation of associated types where the associated type is the same Handy for Derived -> concrete keys where the associated types are the same.

Writing the complete translator trait is tedious. This macro is handy when we are not trying the associated types for hash160, ripemd160, hash256 and sha256.

See also crate::translate_hash_fail