Enum miniscript::descriptor::WshInner
source · 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: PartialEq + MiniscriptKey> PartialEq<WshInner<Pk>> for WshInner<Pk>
impl<Pk: PartialEq + MiniscriptKey> PartialEq<WshInner<Pk>> for WshInner<Pk>
source§impl<Pk: PartialOrd + MiniscriptKey> PartialOrd<WshInner<Pk>> for WshInner<Pk>
impl<Pk: PartialOrd + MiniscriptKey> PartialOrd<WshInner<Pk>> for WshInner<Pk>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<Pk: Eq + MiniscriptKey> Eq for WshInner<Pk>
impl<Pk: MiniscriptKey> StructuralEq for WshInner<Pk>
impl<Pk: MiniscriptKey> StructuralPartialEq for WshInner<Pk>
Auto Trait Implementations§
impl<Pk> RefUnwindSafe for WshInner<Pk>where Pk: RefUnwindSafe, <Pk as MiniscriptKey>::Hash160: RefUnwindSafe, <Pk as MiniscriptKey>::Hash256: RefUnwindSafe, <Pk as MiniscriptKey>::Ripemd160: RefUnwindSafe, <Pk as MiniscriptKey>::Sha256: RefUnwindSafe,
impl<Pk> Send for WshInner<Pk>where Pk: Send + Sync, <Pk as MiniscriptKey>::Hash160: Send + Sync, <Pk as MiniscriptKey>::Hash256: Send + Sync, <Pk as MiniscriptKey>::Ripemd160: Send + Sync, <Pk as MiniscriptKey>::Sha256: Send + Sync,
impl<Pk> Sync for WshInner<Pk>where Pk: Send + Sync, <Pk as MiniscriptKey>::Hash160: Send + Sync, <Pk as MiniscriptKey>::Hash256: Send + Sync, <Pk as MiniscriptKey>::Ripemd160: Send + Sync, <Pk as MiniscriptKey>::Sha256: Send + Sync,
impl<Pk> Unpin for WshInner<Pk>where Pk: Unpin, <Pk as MiniscriptKey>::Hash160: Unpin, <Pk as MiniscriptKey>::Hash256: Unpin, <Pk as MiniscriptKey>::Ripemd160: Unpin, <Pk as MiniscriptKey>::Sha256: Unpin,
impl<Pk> UnwindSafe for WshInner<Pk>where Pk: UnwindSafe + RefUnwindSafe, <Pk as MiniscriptKey>::Hash160: UnwindSafe + RefUnwindSafe, <Pk as MiniscriptKey>::Hash256: UnwindSafe + RefUnwindSafe, <Pk as MiniscriptKey>::Ripemd160: UnwindSafe + RefUnwindSafe, <Pk as MiniscriptKey>::Sha256: 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