pub enum TapLeavesOptions {
All,
Include(Vec<TapLeafHash>),
Exclude(Vec<TapLeafHash>),
None,
}๐Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleExpand description
Customize which taproot script-path leaves the signer should sign.
Variantsยง
All
๐Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleThe signer will sign all the leaves it has a key for.
Include(Vec<TapLeafHash>)
๐Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleThe 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>)
๐Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleThe signer wonโt sign the specified leaves.
None
๐Deprecated since 2.2.0: PSBT signing was moved to
bitcoin::psbt moduleThe 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 duplicate 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
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