pub enum ShInner<Pk: MiniscriptKey> {
Wsh(Wsh<Pk>),
Wpkh(Wpkh<Pk>),
SortedMulti(SortedMultiVec<Pk, Legacy>),
Ms(Miniscript<Pk, Legacy>),
}Expand description
Sh Inner
Variants§
Wsh(Wsh<Pk>)
Nested Wsh
Wpkh(Wpkh<Pk>)
Nested Wpkh
SortedMulti(SortedMultiVec<Pk, Legacy>)
Inner Sorted Multi
Ms(Miniscript<Pk, Legacy>)
p2sh miniscript
Trait Implementations§
impl<Pk: Eq + MiniscriptKey> Eq for ShInner<Pk>
Source§impl<Pk: Ord + MiniscriptKey> Ord for ShInner<Pk>
impl<Pk: Ord + MiniscriptKey> Ord for ShInner<Pk>
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<Pk: PartialOrd + MiniscriptKey> PartialOrd for ShInner<Pk>
impl<Pk: PartialOrd + MiniscriptKey> PartialOrd for ShInner<Pk>
impl<Pk: PartialEq + MiniscriptKey> StructuralPartialEq for ShInner<Pk>
Auto Trait Implementations§
impl<Pk> Freeze for ShInner<Pk>where
Wsh<Pk>: Freeze,
Wpkh<Pk>: Freeze,
SortedMultiVec<Pk, Legacy>: Freeze,
Miniscript<Pk, Legacy>: Freeze,
impl<Pk> RefUnwindSafe for ShInner<Pk>where
Wsh<Pk>: RefUnwindSafe,
Wpkh<Pk>: RefUnwindSafe,
SortedMultiVec<Pk, Legacy>: RefUnwindSafe,
Miniscript<Pk, Legacy>: RefUnwindSafe,
impl<Pk> Send for ShInner<Pk>where
Wsh<Pk>: Send,
Wpkh<Pk>: Send,
SortedMultiVec<Pk, Legacy>: Send,
Miniscript<Pk, Legacy>: Send,
impl<Pk> Sync for ShInner<Pk>where
Wsh<Pk>: Sync,
Wpkh<Pk>: Sync,
SortedMultiVec<Pk, Legacy>: Sync,
Miniscript<Pk, Legacy>: Sync,
impl<Pk> Unpin for ShInner<Pk>where
Wsh<Pk>: Unpin,
Wpkh<Pk>: Unpin,
SortedMultiVec<Pk, Legacy>: Unpin,
Miniscript<Pk, Legacy>: Unpin,
impl<Pk> UnsafeUnpin for ShInner<Pk>where
Wsh<Pk>: UnsafeUnpin,
Wpkh<Pk>: UnsafeUnpin,
SortedMultiVec<Pk, Legacy>: UnsafeUnpin,
Miniscript<Pk, Legacy>: UnsafeUnpin,
impl<Pk> UnwindSafe for ShInner<Pk>where
Wsh<Pk>: UnwindSafe,
Wpkh<Pk>: UnwindSafe,
SortedMultiVec<Pk, Legacy>: UnwindSafe,
Miniscript<Pk, Legacy>: UnwindSafe,
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