logo
pub trait AsDerived {
    fn as_derived<'s>(
        &self,
        index: u32,
        secp: &'s Secp256k1<All>
    ) -> Descriptor<DerivedDescriptorKey<'s>>; fn as_derived_fixed<'s>(
        &self,
        secp: &'s Secp256k1<All>
    ) -> Descriptor<DerivedDescriptorKey<'s>>; }
Expand description

Utilities to derive descriptors

Check out the module level documentation for more.

Required Methods

Derive a descriptor and transform all of its keys to DerivedDescriptorKey

Transform the keys into DerivedDescriptorKey.

Panics if the descriptor is not “fixed”, i.e. if it’s derivable

Implementors