pub enum TaprootAvailableLeaves {
None,
Any,
Single(TapLeafHash),
Many(Vec<TapLeafHash>),
}Expand description
Which taproot leaves the key can sign for
Variants§
None
Cannot sign for any leaf
Any
Can sign for any leaf
Single(TapLeafHash)
Can sign only for a specific leaf
Many(Vec<TapLeafHash>)
Can sign for multiple leaves
Trait Implementations§
Source§impl Clone for TaprootAvailableLeaves
impl Clone for TaprootAvailableLeaves
Source§fn clone(&self) -> TaprootAvailableLeaves
fn clone(&self) -> TaprootAvailableLeaves
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 TaprootAvailableLeaves
impl Debug for TaprootAvailableLeaves
Source§impl Hash for TaprootAvailableLeaves
impl Hash for TaprootAvailableLeaves
Source§impl Ord for TaprootAvailableLeaves
impl Ord for TaprootAvailableLeaves
Source§fn cmp(&self, other: &TaprootAvailableLeaves) -> Ordering
fn cmp(&self, other: &TaprootAvailableLeaves) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TaprootAvailableLeaves
impl PartialEq for TaprootAvailableLeaves
Source§impl PartialOrd for TaprootAvailableLeaves
impl PartialOrd for TaprootAvailableLeaves
impl Eq for TaprootAvailableLeaves
impl StructuralPartialEq for TaprootAvailableLeaves
Auto Trait Implementations§
impl Freeze for TaprootAvailableLeaves
impl RefUnwindSafe for TaprootAvailableLeaves
impl Send for TaprootAvailableLeaves
impl Sync for TaprootAvailableLeaves
impl Unpin for TaprootAvailableLeaves
impl UnwindSafe for TaprootAvailableLeaves
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