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>where
Pk: Freeze,
<Pk as MiniscriptKey>::Sha256: Freeze,
<Pk as MiniscriptKey>::Hash256: Freeze,
<Pk as MiniscriptKey>::Ripemd160: Freeze,
<Pk as MiniscriptKey>::Hash160: Freeze,
impl<Pk> RefUnwindSafe for ShInner<Pk>where
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Sha256: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash256: RefUnwindSafe,
<Pk as MiniscriptKey>::Ripemd160: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash160: RefUnwindSafe,
impl<Pk> Send for ShInner<Pk>where
Pk: Send + Sync,
<Pk as MiniscriptKey>::Sha256: Send + Sync,
<Pk as MiniscriptKey>::Hash256: Send + Sync,
<Pk as MiniscriptKey>::Ripemd160: Send + Sync,
<Pk as MiniscriptKey>::Hash160: Send + Sync,
impl<Pk> Sync for ShInner<Pk>where
Pk: Sync + Send,
<Pk as MiniscriptKey>::Sha256: Sync + Send,
<Pk as MiniscriptKey>::Hash256: Sync + Send,
<Pk as MiniscriptKey>::Ripemd160: Sync + Send,
<Pk as MiniscriptKey>::Hash160: Sync + Send,
impl<Pk> Unpin for ShInner<Pk>where
Pk: Unpin,
<Pk as MiniscriptKey>::Sha256: Unpin,
<Pk as MiniscriptKey>::Hash256: Unpin,
<Pk as MiniscriptKey>::Ripemd160: Unpin,
<Pk as MiniscriptKey>::Hash160: Unpin,
impl<Pk> UnwindSafe for ShInner<Pk>where
Pk: UnwindSafe + RefUnwindSafe,
<Pk as MiniscriptKey>::Sha256: UnwindSafe + RefUnwindSafe,
<Pk as MiniscriptKey>::Hash256: UnwindSafe + RefUnwindSafe,
<Pk as MiniscriptKey>::Ripemd160: UnwindSafe + RefUnwindSafe,
<Pk as MiniscriptKey>::Hash160: UnwindSafe + RefUnwindSafe,
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