Enum bdk_wallet::signer::TapLeavesOptions
source · pub enum TapLeavesOptions {
All,
Include(Vec<TapLeafHash>),
Exclude(Vec<TapLeafHash>),
None,
}
Expand description
Customize which taproot script-path leaves the signer should sign.
Variants§
All
The signer will sign all the leaves it has a key for.
Include(Vec<TapLeafHash>)
The signer won’t sign leaves other than the ones specified. Note that it could still ignore some of the specified leaves, if it doesn’t have the right key to sign them.
Exclude(Vec<TapLeafHash>)
The signer won’t sign the specified leaves.
None
The signer won’t sign any leaf.
Trait Implementations§
source§impl Clone for TapLeavesOptions
impl Clone for TapLeavesOptions
source§fn clone(&self) -> TapLeavesOptions
fn clone(&self) -> TapLeavesOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TapLeavesOptions
impl Debug for TapLeavesOptions
source§impl Default for TapLeavesOptions
impl Default for TapLeavesOptions
source§fn default() -> TapLeavesOptions
fn default() -> TapLeavesOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for TapLeavesOptions
impl PartialEq for TapLeavesOptions
source§fn eq(&self, other: &TapLeavesOptions) -> bool
fn eq(&self, other: &TapLeavesOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TapLeavesOptions
impl StructuralPartialEq for TapLeavesOptions
Auto Trait Implementations§
impl Freeze for TapLeavesOptions
impl RefUnwindSafe for TapLeavesOptions
impl Send for TapLeavesOptions
impl Sync for TapLeavesOptions
impl Unpin for TapLeavesOptions
impl UnwindSafe for TapLeavesOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more