Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
    fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; }

Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific Network

Required methods

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

Loading content...

Implementations on Foreign Types

impl IntoWalletDescriptor for &str[src]

impl IntoWalletDescriptor for &String[src]

impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

Loading content...

Implementors

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

impl IntoWalletDescriptor for ExtendedDescriptor[src]

impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

Turns a DescriptorTemplate into a valid wallet descriptor by calling its build method

Loading content...