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§
Source§impl<Pk: Ord + MiniscriptKey> Ord for ShInner<Pk>
impl<Pk: Ord + MiniscriptKey> Ord for ShInner<Pk>
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<Pk: PartialOrd + MiniscriptKey> PartialOrd for ShInner<Pk>
impl<Pk: PartialOrd + MiniscriptKey> PartialOrd for ShInner<Pk>
impl<Pk: Eq + MiniscriptKey> Eq for ShInner<Pk>
impl<Pk: MiniscriptKey> StructuralPartialEq for ShInner<Pk>
Auto Trait Implementations§
impl<Pk> Freeze for ShInner<Pk>
impl<Pk> RefUnwindSafe for ShInner<Pk>
impl<Pk> Send for ShInner<Pk>
impl<Pk> Sync for ShInner<Pk>
impl<Pk> Unpin for ShInner<Pk>
impl<Pk> UnwindSafe for ShInner<Pk>
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