[][src]Trait bdk::descriptor::ToWalletDescriptor

pub trait ToWalletDescriptor {
    pub fn to_wallet_descriptor(
        self,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), KeyError>; }

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

Required methods

pub fn to_wallet_descriptor(
    self,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), KeyError>
[src]

Convert to wallet descriptor

Loading content...

Implementations on Foreign Types

impl<'_> ToWalletDescriptor for &'_ str[src]

impl<'_> ToWalletDescriptor for &'_ String[src]

impl ToWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

Loading content...

Implementors

impl ToWalletDescriptor for DescriptorTemplateOut[src]

impl ToWalletDescriptor for ExtendedDescriptor[src]

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

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

Loading content...