pub trait TranslatePk<P, Q>where
    P: MiniscriptKey,
    Q: MiniscriptKey,
{ type Output; fn translate_pk<T, E>(&self, translator: &mut T) -> Result<Self::Output, E>
    where
        T: Translator<P, Q, E>
; }
Expand description

Converts a descriptor using abstract keys to one using specific keys. Uses translator t to do the actual translation function calls.

Required Associated Types

The associated output type. This must be Self<Q>.

Required Methods

Translates a struct from one generic to another where the translations for Pk are provided by the given Translator.

Implementors