Enum sapio_miniscript::interpreter::SatisfiedConstraint [−][src]
A satisfied Miniscript condition (Signature, Hashlock, Timelock) ’intp represents the lifetime of descriptor and `stack represents the lifetime of witness
Variants
Public key and corresponding signature
Fields of PublicKey
PublicKeyHash, corresponding pubkey and signature
Fields of PublicKeyHash
keyhash: &'intp Hash
The pubkey hash
key: PublicKey
Corresponding public key
sig: Signature
Corresponding signature for the hash
Hashlock and preimage for SHA256
Fields of HashLock
hash: HashLockType<'intp>
The type of Hashlock
preimage: &'txin [u8]
The preimage used for satisfaction
Relative Timelock for CSV.
Fields of RelativeTimeLock
time: &'intp u32
The value of RelativeTimelock
Absolute Timelock for CLTV.
Fields of AbsoluteTimeLock
time: &'intp u32
The value of Absolute timelock
Trait Implementations
impl<'intp, 'txin> Clone for SatisfiedConstraint<'intp, 'txin>
[src]
fn clone(&self) -> SatisfiedConstraint<'intp, 'txin>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'intp, 'txin> Copy for SatisfiedConstraint<'intp, 'txin>
[src]
impl<'intp, 'txin> Debug for SatisfiedConstraint<'intp, 'txin>
[src]
impl<'intp, 'txin> Eq for SatisfiedConstraint<'intp, 'txin>
[src]
impl<'intp, 'txin> PartialEq<SatisfiedConstraint<'intp, 'txin>> for SatisfiedConstraint<'intp, 'txin>
[src]
fn eq(&self, other: &SatisfiedConstraint<'intp, 'txin>) -> bool
[src]
fn ne(&self, other: &SatisfiedConstraint<'intp, 'txin>) -> bool
[src]
impl<'intp, 'txin> StructuralEq for SatisfiedConstraint<'intp, 'txin>
[src]
impl<'intp, 'txin> StructuralPartialEq for SatisfiedConstraint<'intp, 'txin>
[src]
Auto Trait Implementations
impl<'intp, 'txin> RefUnwindSafe for SatisfiedConstraint<'intp, 'txin>
impl<'intp, 'txin> Send for SatisfiedConstraint<'intp, 'txin>
impl<'intp, 'txin> Sync for SatisfiedConstraint<'intp, 'txin>
impl<'intp, 'txin> Unpin for SatisfiedConstraint<'intp, 'txin>
impl<'intp, 'txin> UnwindSafe for SatisfiedConstraint<'intp, 'txin>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,