pub enum WshInner<Pk: MiniscriptKey> {
SortedMulti(SortedMultiVec<Pk, Segwitv0>),
Ms(Miniscript<Pk, Segwitv0>),
}
Expand description
Wsh Inner
Variants§
Trait Implementations§
Source§impl<Pk: Ord + MiniscriptKey> Ord for WshInner<Pk>
impl<Pk: Ord + MiniscriptKey> Ord for WshInner<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 WshInner<Pk>
impl<Pk: PartialOrd + MiniscriptKey> PartialOrd for WshInner<Pk>
impl<Pk: Eq + MiniscriptKey> Eq for WshInner<Pk>
impl<Pk: MiniscriptKey> StructuralPartialEq for WshInner<Pk>
Auto Trait Implementations§
impl<Pk> Freeze for WshInner<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 WshInner<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 WshInner<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 WshInner<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 WshInner<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 WshInner<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