Enum wallet::descriptor::Expanded [−][src]
#[non_exhaustive] pub enum Expanded { Bare(PubkeyScript), Pk(PublicKey), Pkh(PublicKey), Sh(RedeemScript), ShWpkh(PublicKey), ShWsh(WitnessScript), Wpkh(PublicKey), Wsh(WitnessScript), Taproot(PublicKey, TapScript), }
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bare(PubkeyScript)
Pk(PublicKey)
Pkh(PublicKey)
Sh(RedeemScript)
ShWpkh(PublicKey)
ShWsh(WitnessScript)
Wpkh(PublicKey)
Wsh(WitnessScript)
Taproot(PublicKey, TapScript)
Trait Implementations
impl From<Expanded> for PubkeyScript
[src]
impl From<Expanded> for PubkeyScript
[src]fn from(expanded: Expanded) -> PubkeyScript
[src]
impl StrictDecode for Expanded
[src]
impl StrictDecode for Expanded
[src]impl StrictEncode for Expanded
[src]
impl StrictEncode for Expanded
[src]impl StructuralEq for Expanded
[src]
impl StructuralEq for Expanded
[src]impl StructuralPartialEq for Expanded
[src]
impl StructuralPartialEq for Expanded
[src]Auto Trait Implementations
impl RefUnwindSafe for Expanded
impl RefUnwindSafe for Expanded
impl UnwindSafe for Expanded
impl UnwindSafe for Expanded